Class: Exlibris::Aleph::Config::TabWwwItemDesc
- Inherits:
-
ConfigBase
- Object
- ConfigBase
- Exlibris::Aleph::Config::TabWwwItemDesc
- Defined in:
- lib/exlibris/aleph/config/tab_www_item_desc.rb
Instance Attribute Summary
Attributes inherited from ConfigBase
#config_array, #config_hash, #file_name, #hash_key, #library, #local_file, #local_path, #pattern, #pattern_key
Instance Method Summary collapse
-
#initialize(args) ⇒ TabWwwItemDesc
constructor
A new instance of TabWwwItemDesc.
Methods inherited from ConfigBase
Constructor Details
#initialize(args) ⇒ TabWwwItemDesc
Returns a new instance of TabWwwItemDesc.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/exlibris/aleph/config/tab_www_item_desc.rb', line 6 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 |