Class: Objectify::DocumentParser
- Defined in:
- lib/objectify_xml/document_parser.rb
Direct Known Subclasses
Constant Summary
Constants inherited from Xml
Instance Attribute Summary
Attributes inherited from Xml
Instance Method Summary collapse
-
#primary_xml_element(xml) ⇒ Object
The entry point to the parser, normally called by initialize after the initialization is complete.
Methods inherited from Xml
first_element, inherited, #initialize, #inspect, #pretty_print
Constructor Details
This class inherits a constructor from Objectify::Xml
Instance Method Details
#primary_xml_element(xml) ⇒ Object
The entry point to the parser, normally called by initialize after the initialization is complete.
6 7 8 |
# File 'lib/objectify_xml/document_parser.rb', line 6 def primary_xml_element(xml) parse_xml(xml.child) end |