Class: Exlibris::Aleph::Table::Reader::ItemDisplayMasks

Inherits:
Base
  • Object
show all
Defined in:
lib/exlibris/aleph/table/reader/item_display_masks.rb

Constant Summary collapse

FILENAME =
'tab_www_item_desc.eng'

Instance Attribute Summary

Attributes inherited from Base

#admin_library, #filename

Instance Method Summary collapse

Constructor Details

#initialize(admin_library) ⇒ ItemDisplayMasks

Returns a new instance of ItemDisplayMasks.



8
9
10
# File 'lib/exlibris/aleph/table/reader/item_display_masks.rb', line 8

def initialize(admin_library)
  super(admin_library, FILENAME)
end

Instance Method Details

#allObject



12
13
14
# File 'lib/exlibris/aleph/table/reader/item_display_masks.rb', line 12

def all
  rows.map { |row| Aleph::Item::DisplayMask.new(row.display, row.mask) }
end