Class: XPath::SelfIterator

Inherits:
AxisIterator show all
Defined in:
lib/xml/xpath.rb

Instance Method Summary collapse

Methods inherited from AxisIterator

#reverse_order?

Instance Method Details

#each(node, visitor) {|visitor.visit(node)| ... } ⇒ Object

Yields:

  • (visitor.visit(node))


2560
2561
2562
# File 'lib/xml/xpath.rb', line 2560

def each(node, visitor)
  yield visitor.visit(node)
end