Class: XPath::NamespaceIterator

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

Instance Method Summary collapse

Methods inherited from AxisIterator

#reverse_order?

Instance Method Details

#each(node, visitor) ⇒ Object



2700
2701
2702
# File 'lib/xml/xpath.rb', line 2700

def each(node, visitor)
  visitor.visit(node).namespaces.each { |i| yield visitor.visit(i) }
end