Class: BibframeRuby::Work
Overview
Represents a BIBFRAME Work — the intellectual content of a bibliographic resource.
Instance Attribute Summary
Attributes inherited from Resource
#id, #properties, #rdf_graph, #types
Instance Method Summary
collapse
Methods inherited from Resource
#[], #[]=, #initialize, #to_rdf
Instance Method Details
#aap ⇒ Object
43
44
45
|
# File 'lib/bibframe_ruby/models/work.rb', line 43
def aap
self["aap"]
end
|
#classifications ⇒ Object
35
36
37
|
# File 'lib/bibframe_ruby/models/work.rb', line 35
def classifications
self["classifications"] || []
end
|
#contributions ⇒ Object
11
12
13
|
# File 'lib/bibframe_ruby/models/work.rb', line 11
def contributions
self["contributions"] || []
end
|
27
28
29
|
# File 'lib/bibframe_ruby/models/work.rb', line 27
def genre_forms
self["genre_forms"] || []
end
|
#instances ⇒ Object
15
16
17
|
# File 'lib/bibframe_ruby/models/work.rb', line 15
def instances
self["instances"] || []
end
|
#language ⇒ Object
19
20
21
|
# File 'lib/bibframe_ruby/models/work.rb', line 19
def language
self["language"]
end
|
#relations ⇒ Object
39
40
41
|
# File 'lib/bibframe_ruby/models/work.rb', line 39
def relations
self["relations"] || []
end
|
#subjects ⇒ Object
23
24
25
|
# File 'lib/bibframe_ruby/models/work.rb', line 23
def subjects
self["subjects"] || []
end
|
#summary ⇒ Object
31
32
33
|
# File 'lib/bibframe_ruby/models/work.rb', line 31
def summary
self["summary"]
end
|
#title ⇒ Object
7
8
9
|
# File 'lib/bibframe_ruby/models/work.rb', line 7
def title
self["title"]
end
|