Sha256: 3124fec166661592f5bafaccf35d3a5867e93ad2c271001dbe0b31975599c3ed

Contents?: true

Size: 491 Bytes

Versions: 9

Compression:

Stored size: 491 Bytes

Contents

module Exlibris
  module Aleph
    module Config
      class Tab40 < Exlibris::Aleph::Config::ConfigBySubLibrary

        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

9 entries across 9 versions & 1 rubygems

Version Path
exlibris-aleph-0.1.6 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.1.5 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.1.4 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.1.3 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.1.2 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.1.1 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.1.0 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.0.2 lib/exlibris/aleph/config/tab40.rb
exlibris-aleph-0.0.1 lib/exlibris/aleph/config/tab40.rb