Module: MultiXml::Parsers::Libxml
- Extended by:
- Libxml
- Includes:
- Libxml2Parser
- Included in:
- Libxml
- Defined in:
- lib/multi_xml/parsers/libxml.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods included from Libxml2Parser
Instance Method Details
#parse(xml) ⇒ Object
14 15 16 |
# File 'lib/multi_xml/parsers/libxml.rb', line 14 def parse(xml) node_to_hash(LibXML::XML::Parser.io(xml).parse.root) end |
#parse_error ⇒ Object
10 11 12 |
# File 'lib/multi_xml/parsers/libxml.rb', line 10 def parse_error ::LibXML::XML::Error end |