Module: MultiXml::Parsers::Ox

Extended by:
Ox
Included in:
Ox
Defined in:
lib/multi_xml/parsers/ox.rb

Overview

:nodoc:

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Instance 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)
  handler.doc
end

#parse_errorObject


26
27
28
# File 'lib/multi_xml/parsers/ox.rb', line 26

def parse_error
  Exception
end