Module: MARC::JREXMLReader

Defined in:
lib/marc/xml_parsers.rb

Overview

The JREXMLReader is really just here to set the load order for injecting the Java pull parser.

Class Method Summary collapse

Class Method Details

.extended(receiver) ⇒ Object



288
289
290
291
292
293
# File 'lib/marc/xml_parsers.rb', line 288

def self.extended(receiver)
  require 'rexml/document'
  require 'rexml/parsers/pullparser'
  require 'jrexml'
  receiver.extend(REXMLReader)
end