Sha256: f8a36facab47703e6a03de0e55a84c54b77279907726122953a97ba4d5d0f1b3

Contents?: true

Size: 489 Bytes

Versions: 10

Compression:

Stored size: 489 Bytes

Contents

module Exlibris
  module Aleph
    module TabParser
      class Tab40 < Exlibris::Aleph::TabParser::SubLibrary

        def initialize(args)
          args[:aleph_file_name] = "tab40.eng"
          args[:pattern] = /^(.{5})\s(.{5})\s(L)\s(.+)/
          args[:pattern_key] = {
            1  => :collection_code, 
            2  => :sub_library, 
            4  => :text
          }
          args[:hash_key] = :collection_code
          super(args)
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
exlibris-aleph-1.1.0 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.8 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.7 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.6 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.5 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.4 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.3 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.2 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.1 lib/exlibris/aleph/tabs_parser/tab40.rb
exlibris-aleph-1.0.0 lib/exlibris/aleph/tabs_parser/tab40.rb