Sha256: 887087a442e040f3ecb3fe94d9a9c88c9b84151e652b7df37e3dfaabbc569e26

Contents?: true

Size: 1.03 KB

Versions: 10

Compression:

Stored size: 1.03 KB

Contents

module Exlibris
  module Aleph
    module TabParser
      class Tab15ByItemProcessStatus < Exlibris::Aleph::TabParser::SubLibrary

        def initialize(args)
          args[:aleph_file_name] = "tab15.eng"
          args[:pattern] = /^(.{5})\s([0-9#]{2})\s([A-Z#]{2})\s(L)\s(.{30})\s([YN])\s([YN])\s([YNCT])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([YN])\s([0-9]{2})\s([YNC])\s([AOC])/
          args[:pattern_key] = {
            1  => :sub_library, 
            2  => :item_status, 
            3  => :item_process_status, 
            5  => :text, 
            6  => :loan,
            7  => :renew,
            8  => :hold_request,
            9  => :photocopy_request,
            10 => :web_opac,
            11 => :specific_item,
            12 => :limit_hold,
            13 => :recall,
            14 => :rush_recall,
            15 => :reloaning_limit,
            16 => :booking_permission,
            17 => :booking_hours
          }
          args[:hash_key] = :item_process_status
          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/tab15_by_item_process_status.rb
exlibris-aleph-1.0.8 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.7 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.6 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.5 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.4 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.3 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.2 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.1 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb
exlibris-aleph-1.0.0 lib/exlibris/aleph/tabs_parser/tab15_by_item_process_status.rb