Class: LinkedResearchMetadata::Transformer::Dataset
- Includes:
- Shared
- Defined in:
- lib/linked_research_metadata/transformer/dataset.rb
Overview
Dataset transformer
Instance Method Summary collapse
-
#initialize(config) ⇒ Dataset
constructor
A new instance of Dataset.
-
#transform(uuid:) ⇒ RDF::Graph
Dataset transformation.
Methods inherited from Base
Constructor Details
#initialize(config) ⇒ Dataset
Returns a new instance of Dataset.
15 16 17 |
# File 'lib/linked_research_metadata/transformer/dataset.rb', line 15 def initialize(config) super end |
Instance Method Details
#transform(uuid:) ⇒ RDF::Graph
Dataset transformation
23 24 25 |
# File 'lib/linked_research_metadata/transformer/dataset.rb', line 23 def transform(uuid:) super uuid: uuid, resource: :dataset end |