Methods

XPath::Expression::Variable

Public Class Methods

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

Public Instance Methods

to_xpath(predicate=nil) click to toggle source
# File lib/xpath/expression.rb, line 198
def to_xpath(predicate=nil)
  "%{#{@name}}"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.