Class: LinkedRails::Vocab::CustomVocabulary
- Inherits:
-
RDF::Vocabulary
- Object
- RDF::Vocabulary
- LinkedRails::Vocab::CustomVocabulary
- Defined in:
- lib/linked_rails/vocab.rb
Instance Method Summary collapse
Instance Method Details
#__name__ ⇒ Object
12 13 14 |
# File 'lib/linked_rails/vocab.rb', line 12 def __name__ @__key__ end |
#__prefix__ ⇒ Object
16 17 18 |
# File 'lib/linked_rails/vocab.rb', line 16 def __prefix__ __name__.split('::').last.downcase.to_sym end |
#key=(value) ⇒ Object
8 9 10 |
# File 'lib/linked_rails/vocab.rb', line 8 def key=(value) @__key__ = value end |