Sha256: dc8d19eb0e1f7c842cb482a4a309db1a26811ab863516ba896fb9da0f4be340b

Contents?: true

Size: 531 Bytes

Versions: 9

Compression:

Stored size: 531 Bytes

Contents

module Exlibris
  module Aleph
    module Config
      class TabSubLibrary < Exlibris::Aleph::Config::ConfigBase

        def initialize(args)
          args[:aleph_file_name] = "tab_sub_library.eng"
          args[:pattern] = /^(.{5})\s([1-6]{1})\s(.{5})\s([L,H,A,R,S]{1})\s(.{1,30})/
          args[:pattern_key] = {
            1  => :code, 
            2  => :type, 
            3  => :library, 
            5  => :text
          }
          args[:hash_key] = :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/tab_sub_library.rb
exlibris-aleph-0.1.5 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.1.4 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.1.3 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.1.2 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.1.1 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.1.0 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.0.2 lib/exlibris/aleph/config/tab_sub_library.rb
exlibris-aleph-0.0.1 lib/exlibris/aleph/config/tab_sub_library.rb