method
unnode
v2_6_3 -
Show latest stable
- Class:
REXML::XPathParser
unnode(nodeset)private
No documentation available.
# File lib/rexml/xpath_parser.rb, line 905
def unnode(nodeset)
nodeset.collect do |node|
if node.is_a?(XPathNode)
unnoded = node.raw_node
else
unnoded = node
end
unnoded = yield(unnoded) if block_given?
unnoded
end
end