Methods

XPath::Expression::Is

Public Instance Methods

to_xpath(predicate=nil) click to toggle source
# File lib/xpath/expression.rb, line 178
def to_xpath(predicate=nil)
  if predicate == :exact
    Equality.new(@left, @right).to_xpath(predicate)
  else
    Contains.new(@left, @right).to_xpath(predicate)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.