Class: XPath::PrecedingSiblingIterator
- Inherits:
-
ReverseAxisIterator
- Object
- AxisIterator
- ReverseAxisIterator
- XPath::PrecedingSiblingIterator
- Defined in:
- lib/xml/xpath.rb
Instance Method Summary collapse
Methods inherited from ReverseAxisIterator
Methods inherited from AxisIterator
Instance Method Details
#each(node, visitor) ⇒ Object
2648 2649 2650 2651 2652 |
# File 'lib/xml/xpath.rb', line 2648 def each(node, visitor) visitor.visit(node).each_preceding_siblings { |i| yield visitor.visit(i) } end |