Class: SC::Sequence
- Inherits:
-
ORE::Proxy
- Object
- ActiveTriples::Resource
- ORE::Proxy
- SC::Sequence
- Includes:
- NIE::InformationElement
- Defined in:
- app/models/concerns/sc/sequence.rb
Instance Method Summary collapse
-
#initialize(proxy_for_uri, context_uri, *args) ⇒ Sequence
constructor
A new instance of Sequence.
Methods inherited from ORE::Proxy
#apply_prefix, #fields, #insert_field_map, #resource, #to_json, #to_solr, type, #type_config
Constructor Details
#initialize(proxy_for_uri, context_uri, *args) ⇒ Sequence
Returns a new instance of Sequence.
16 17 18 19 |
# File 'app/models/concerns/sc/sequence.rb', line 16 def initialize(proxy_for_uri, context_uri, *args) super(proxy_for_uri, context_uri, *args) self.get_values(:type) << RDF::SC[:Sequence] end |