class XPath::Union
Attributes
arguments[R]
expressions[R]
Public Class Methods
new(*expressions)
click to toggle source
# File lib/xpath/union.rb, line 8 def initialize(*expressions) @expressions = expressions end
Public Instance Methods
each(&block)
click to toggle source
# File lib/xpath/union.rb, line 16 def each(&block) arguments.each(&block) end
expression()
click to toggle source
# File lib/xpath/union.rb, line 12 def expression :union end
method_missing(*args)
click to toggle source
# File lib/xpath/union.rb, line 20 def method_missing(*args) XPath::Union.new(*arguments.map { |e| e.send(*args) }) end
to_xpath(type=nil)
click to toggle source
# File lib/xpath/union.rb, line 24 def to_xpath(type=nil) Renderer.render(self, type) end
Also aliased as: to_s