Class: BibCard::Getty::ScopeNote
- Inherits:
-
Spira::Base
- Object
- Spira::Base
- BibCard::Getty::ScopeNote
- Defined in:
- lib/bib_card/getty/scope_note.rb
Instance Method Summary collapse
Instance Method Details
#sources ⇒ Object
9 10 11 12 13 14 |
# File 'lib/bib_card/getty/scope_note.rb', line 9 def sources Spira.repository.query({subject: self.subject, predicate: DC_SOURCE}).map do |stmt| source = stmt.object.as(Source) source.type == BIBO_DOCUMENT_PART ? source.parent : source end end |