Module: Exlibris::Primo::Pnx::Frbr
- Included in:
- Record
- Defined in:
- lib/exlibris/primo/pnx/frbr.rb
Overview
Handle frbr records
Instance Method Summary collapse
-
#frbr? ⇒ Boolean
Is this a frbr’d record.
-
#frbr_id ⇒ Object
Returns the frbr id of this record if there is one.
Instance Method Details
#frbr? ⇒ Boolean
Is this a frbr’d record
11 12 13 |
# File 'lib/exlibris/primo/pnx/frbr.rb', line 11 def frbr? @frbr ||= (respond_to? :facets_frbrgroupid) end |
#frbr_id ⇒ Object
Returns the frbr id of this record if there is one.
18 19 20 |
# File 'lib/exlibris/primo/pnx/frbr.rb', line 18 def frbr_id @frbr_id ||= facets_frbrgroupid if frbr? end |