Sha256: 77f725cd4e50f6cecf37c67686c00ec0a755ee136fed0dc29ceaee5861ef88fb

Contents?: true

Size: 531 Bytes

Versions: 10

Compression:

Stored size: 531 Bytes

Contents

module Exlibris
  module Aleph
    module TabParser
      class TabSubLibrary < Exlibris::Aleph::TabParser::Base

        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

10 entries across 10 versions & 1 rubygems

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