Class: REXML::Parsers::BaseParser

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

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

Extend every REXML base parser with a version that uses a Java pull parser library



7
8
9
10
11
12
# File 'lib/jrexml.rb', line 7

def self.new(*args)
  obj = allocate
  obj.extend(JREXML::JavaPullParser)
  obj.send :initialize, *args
  obj
end