Module: MobyUtil::XML::LibXML::Nodeset
- Includes:
- Abstraction
- Defined in:
- lib/tdriver/util/xml/parsers/libxml/libxml.rb
Overview
Element
Instance Method Summary collapse
Methods included from Abstraction
#empty?, #name, #nil?, #size, #to_s
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MobyUtil::XML::LibXML::Abstraction
Instance Method Details
#[](node) ⇒ Object
129 130 131 |
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 129 def []( node ) element_object( @xml[ node ] ) end |
#each(&block) ⇒ Object
125 126 127 |
# File 'lib/tdriver/util/xml/parsers/libxml/libxml.rb', line 125 def each( &block ) @xml.each{ | element | yield( element_object( element ) ) } end |