Class: XPath::DescendantOrSelfIterator

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

Direct Known Subclasses

FollowingIterator

Instance Method Summary collapse

Methods inherited from AxisIterator

#reverse_order?

Instance Method Details

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

Yields:

  • (visitor.visit(node))


2627
2628
2629
2630
# File 'lib/xml/xpath.rb', line 2627

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