class XPath::Union
Attributes
Public Class Methods
Source
# File lib/xpath/union.rb, line 10 def initialize(*expressions) @expressions = expressions end
Public Instance Methods
Source
# File lib/xpath/union.rb, line 22 def method_missing(*args) # rubocop:disable Style/MethodMissingSuper, Style/MissingRespondToMissing XPath::Union.new(*arguments.map { |e| e.send(*args) }) end
Source
# File lib/xpath/union.rb, line 26 def to_xpath(type = nil) Renderer.render(self, type) end
Also aliased as: to_s