Methods

Files

XPath::Expression::Literal

Public Class Methods

new(expression) click to toggle source
# File lib/xpath/expression.rb, line 32
def initialize(expression)
  @expression = expression
end

Public Instance Methods

to_xpath(predicate=nil) click to toggle source
# File lib/xpath/expression.rb, line 36
def to_xpath(predicate=nil)
  @expression.to_s
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.