Class: XPath::AttributeIterator
- Inherits:
-
AxisIterator
- Object
- AxisIterator
- XPath::AttributeIterator
- Defined in:
- lib/xml/xpath.rb
Instance Method Summary collapse
Methods inherited from AxisIterator
Instance Method Details
#each(node, visitor) ⇒ Object
2691 2692 2693 |
# File 'lib/xml/xpath.rb', line 2691 def each(node, visitor) visitor.visit(node).attributes.each { |i| yield visitor.visit(i) } end |