Sha256: 1f054ad71368aec2bdd1738fc2b97b68373943a57167788538b3b65b1e0ee02c

Contents?: true

Size: 520 Bytes

Versions: 10

Compression:

Stored size: 520 Bytes

Contents

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

        def initialize(args)
          args[:aleph_file_name] = "pc_tab_exp_field_extended.eng"
          args[:pattern] = /^(BOR-STATUS\s{10})\s(.{5})\s(L)\s(.{50})\s([^\n]*)/
          args[:pattern_key] = {
            2  => :sublibrary, 
            4  => :text,
            5  => :code
          }
          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/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.8 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.7 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.6 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.5 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.4 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.3 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.2 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.1 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb
exlibris-aleph-1.0.0 lib/exlibris/aleph/tabs_parser/pc_tab_exp_field_extended.rb