Sha256: f64e895030d5c21c95b54dc30581b0ba5da301e02cb5a08fd5a498f830452924

Contents?: true

Size: 520 Bytes

Versions: 9

Compression:

Stored size: 520 Bytes

Contents

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

        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

9 entries across 9 versions & 1 rubygems

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