Sha256: d806e468caf9c97a6207321aa448a09fd72988690145967a1af7b5a4ce87877e

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'marc'
require 'marc_extensions/record'

module MARCExtensions
  module XMLReaderClassExtensions
    def read(file, freeze: false)
      new(file, freeze: freeze)
    end
  end
end

module MARC
  # @see https://rubydoc.info/gems/marc/MARC/XMLReader RubyGems documentation
  class XMLReader
    class << self
      prepend MARCExtensions::XMLReaderClassExtensions
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
berkeley_library-marc-0.2.1 lib/marc_extensions/xml_reader.rb
berkeley_library-marc-0.2.0 lib/marc_extensions/xml_reader.rb