Class: XPath::ChildIterator
- Inherits:
-
AxisIterator
- Object
- AxisIterator
- XPath::ChildIterator
- Defined in:
- lib/xml/xpath.rb
Instance Method Summary collapse
Methods inherited from AxisIterator
Instance Method Details
#each(node, visitor, &block) ⇒ Object
2569 2570 2571 |
# File 'lib/xml/xpath.rb', line 2569 def each(node, visitor, &block) visitor.visit(node).children.each { |i| yield visitor.visit(i) } end |