Class: BibframeRuby::Item
- Defined in:
- lib/bibframe_ruby/models/item.rb
Overview
Represents a BIBFRAME Item — an individual copy of an Instance.
Instance Attribute Summary
Attributes inherited from Resource
#id, #properties, #rdf_graph, #types
Instance Method Summary collapse
Methods inherited from Resource
#[], #[]=, #initialize, #to_rdf
Constructor Details
This class inherits a constructor from BibframeRuby::Resource
Instance Method Details
#held_by ⇒ Object
11 12 13 |
# File 'lib/bibframe_ruby/models/item.rb', line 11 def held_by self["held_by"] end |
#instance ⇒ Object
7 8 9 |
# File 'lib/bibframe_ruby/models/item.rb', line 7 def instance self["instance"] end |
#shelf_mark ⇒ Object
15 16 17 |
# File 'lib/bibframe_ruby/models/item.rb', line 15 def shelf_mark self["shelf_mark"] end |