Class: Saxlsx::SaxParser

Inherits:
Object
  • Object
show all
Defined in:
lib/saxlsx/sax_parser.rb

Class Method Summary collapse

Class Method Details

.parse(handler, xml) ⇒ Object



4
5
6
7
8
# File 'lib/saxlsx/sax_parser.rb', line 4

def self.parse(handler, xml)
  io = StringIO.new xml
  Ox.sax_parse(handler, io)
  io.close
end