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_xpath(type=nil)
click to toggle source
# File lib/xpath/expression.rb, line 15 def to_xpath(type=nil) Renderer.render(self, type) end
Also aliased as: to_s