method
new
v2_6_3 -
Show latest stable
- Class:
REXML::XPathNode
new(node, context=nil)public
No documentation available.
# File lib/rexml/xpath_parser.rb, line 921
def initialize(node, context=nil)
if node.is_a?(XPathNode)
@raw_node = node.raw_node
else
@raw_node = node
end
@context = context || {}
end