Class: XPath::AncestorOrSelfIterator

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

Instance Method Summary collapse

Methods inherited from ReverseAxisIterator

#reverse_order?

Methods inherited from AxisIterator

#reverse_order?

Instance Method Details

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

Yields:

  • (visitor.visit(node))


2603
2604
2605
2606
# File 'lib/xml/xpath.rb', line 2603

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