Sha256: 9ff02852913bfa7381ead7636deaeac7ca4c9286c3c4c6623e73b24009ddcb34

Contents?: true

Size: 508 Bytes

Versions: 10

Compression:

Stored size: 508 Bytes

Contents

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

        def initialize(args)
          args[:aleph_file_name] = "tab_www_item_desc.eng"
          args[:pattern] = /^(ITEM-STATUS    )\s(.{80})\s([^\n]*)/
          args[:pattern_key] = {
            1  => :code, 
            2  => :original_text, 
            3  => :web_text
          }
          args[:hash_key] = :original_text
          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_www_item_desc.rb
exlibris-aleph-1.0.8 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.7 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.6 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.5 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.4 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.3 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.2 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.1 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb
exlibris-aleph-1.0.0 lib/exlibris/aleph/tabs_parser/tab_www_item_desc.rb