Class: BibframeRuby::Title
- Defined in:
- lib/bibframe_ruby/models/title.rb
Overview
Represents a BIBFRAME Title with main title, subtitle, and non-sort number.
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
#main_title ⇒ Object
7 8 9 |
# File 'lib/bibframe_ruby/models/title.rb', line 7 def main_title self["main_title"] end |
#non_sort_num ⇒ Object
15 16 17 |
# File 'lib/bibframe_ruby/models/title.rb', line 15 def non_sort_num self["non_sort_num"] end |
#subtitle ⇒ Object
11 12 13 |
# File 'lib/bibframe_ruby/models/title.rb', line 11 def subtitle self["subtitle"] end |