Module: MultiXml::Parsers::Ox
- Defined in:
- lib/multi_xml/parsers/ox.rb
Overview
:nodoc:
Defined Under Namespace
Classes: Handler
Class Method Summary collapse
Class Method Details
.parse(io) ⇒ Object
30 31 32 33 34 |
# File 'lib/multi_xml/parsers/ox.rb', line 30 def parse(io) handler = Handler.new ::Ox.sax_parse(handler, io, convert_special: true, skip: :skip_return) handler.doc end |
.parse_error ⇒ Object
26 27 28 |
# File 'lib/multi_xml/parsers/ox.rb', line 26 def parse_error Exception end |