Class: Objectify::DocumentParser

Inherits:
Xml
  • Object
show all
Defined in:
lib/objectify_xml/document_parser.rb

Constant Summary

Constants inherited from Xml

Xml::VERSION

Instance Attribute Summary

Attributes inherited from Xml

#attributes, #parent

Instance Method Summary collapse

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.



5
6
7
# File 'lib/objectify_xml/document_parser.rb', line 5

def primary_xml_element(xml)
  parse_xml(xml.child)
end