method

unnode

ruby latest stable - Class: REXML::XPathParser

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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