Class: Exlibris::Aleph::Item::CirculationPolicy::Display

Inherits:
Object
  • Object
show all
Defined in:
lib/exlibris/aleph/item/circulation_policy/display.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value, mask = nil) ⇒ Display

Returns a new instance of Display.



8
9
10
11
# File 'lib/exlibris/aleph/item/circulation_policy/display.rb', line 8

def initialize(value, mask=nil)
  @value = value
  @mask = (mask || value)
end

Instance Attribute Details

#maskObject (readonly)

Returns the value of attribute mask.



6
7
8
# File 'lib/exlibris/aleph/item/circulation_policy/display.rb', line 6

def mask
  @mask
end

#valueObject (readonly)

Returns the value of attribute value.



6
7
8
# File 'lib/exlibris/aleph/item/circulation_policy/display.rb', line 6

def value
  @value
end