Module: XML::SAX::Helpers::ParserFactory
- Defined in:
- lib/xml/sax.rb
Class Method Summary collapse
Class Method Details
.makeParser(klass) ⇒ Object
343 344 345 346 347 348 349 |
# File 'lib/xml/sax.rb', line 343 def ParserFactory::makeParser(klass) if klass.kind_of?(Class) klass.new elsif klass.kind_of?(String) eval(klass).new end end |