class XPath::Expression

Attributes

arguments[RW]
expression[RW]

Public Class Methods

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

Public Instance Methods

current() click to toggle source
# File lib/xpath/expression.rb, line 11
def current
  self
end
to_s() click to toggle source
Alias for: to_xpath
to_xpath() click to toggle source
# File lib/xpath/expression.rb, line 15
def to_xpath
  Renderer.render(self)
end
Also aliased as: to_s