Class: BibCard::Getty::Source
- Inherits:
-
Spira::Base
- Object
- Spira::Base
- BibCard::Getty::Source
- Defined in:
- lib/bib_card/getty/source.rb
Instance Method Summary collapse
Instance Method Details
#parent ⇒ Object
8 9 10 11 |
# File 'lib/bib_card/getty/source.rb', line 8 def parent stmt = Spira.repository.query({subject: self.subject, predicate: DC_IS_PART_OF}).first stmt.nil? ? nil : stmt.object.as(Source) end |