Class: UwCatalog::HoldingMarc
- Inherits:
-
Object
- Object
- UwCatalog::HoldingMarc
- Defined in:
- lib/uw_catalog/model/holding_marc.rb
Constant Summary collapse
- YEAR_CAPTIONS =
['(year)', '(Year)', 'year', '(year covered)']
- MONTH_CAPTIONS =
['(month)', 'mo']
- DAY_CAPTIONS =
['(day)']
- SEASON_CAPTIONS =
['(season)']
Instance Attribute Summary collapse
-
#holding_id ⇒ Object
readonly
Returns the value of attribute holding_id.
-
#record ⇒ Object
readonly
Returns the value of attribute record.
Instance Method Summary collapse
- #bound_copies ⇒ Object
- #indexes ⇒ Object
-
#initialize(holding_id) ⇒ HoldingMarc
constructor
A new instance of HoldingMarc.
- #marc_record ⇒ Object
- #supplements ⇒ Object
Constructor Details
#initialize(holding_id) ⇒ HoldingMarc
Returns a new instance of HoldingMarc.
11 12 13 14 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 11 def initialize(holding_id) @holding_id = holding_id to_marc end |
Instance Attribute Details
#holding_id ⇒ Object (readonly)
Returns the value of attribute holding_id.
9 10 11 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 9 def holding_id @holding_id end |
#record ⇒ Object (readonly)
Returns the value of attribute record.
9 10 11 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 9 def record @record end |
Instance Method Details
#bound_copies ⇒ Object
20 21 22 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 20 def bound_copies bound_copies_internal end |
#indexes ⇒ Object
24 25 26 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 24 def indexes indexes_internal end |
#marc_record ⇒ Object
16 17 18 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 16 def marc_record @record end |
#supplements ⇒ Object
32 33 34 |
# File 'lib/uw_catalog/model/holding_marc.rb', line 32 def supplements supplements_internal end |