Sha256: 9e5cfce12e9e24fbda5acf7a551c15645f48e52a2fd24504b48657b9fc1bbb65

Contents?: true

Size: 441 Bytes

Versions: 15

Compression:

Stored size: 441 Bytes

Contents

module Exlibris
  module Primo
    module Pnx
      # 
      # Handle frbr records
      # 
      module Frbr
        #
        # Is this a frbr'd record
        #
        def frbr?
          @frbr ||= (respond_to? :facets_frbrgroupid)
        end

        #
        # Returns the frbr id of this record if there is one.
        #
        def frbr_id
          @frbr_id ||= facets_frbrgroupid if frbr?
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
exlibris-primo-1.1.2 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.1.1 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.1.0 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.11 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.10 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.9 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.8 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.7 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.6 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.5 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.4 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.3 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.2 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.1 lib/exlibris/primo/pnx/frbr.rb
exlibris-primo-1.0.0 lib/exlibris/primo/pnx/frbr.rb