Module: ROF::Translators
- Defined in:
- lib/rof/translators.rb,
lib/rof/translators/csv_to_rof.rb,
lib/rof/translators/osf_to_rof.rb,
lib/rof/translators/fedora_to_rof.rb,
lib/rof/translators/jsonld_to_rof.rb,
lib/rof/translators/jsonld_to_rof/accumulator.rb,
lib/rof/translators/jsonld_to_rof/predicate_handler.rb,
lib/rof/translators/jsonld_to_rof/statement_handler.rb,
lib/rof/translators/jsonld_to_rof/predicate_object_handler.rb
Overview
A namespace for organizing translating classes. A translating class is responsible for converting from one format to another format (e.g. CSV to ROF).
Defined Under Namespace
Modules: JsonldToRof Classes: CsvToRof, FedoraToRof, OsfToRof
Class Method Summary collapse
-
.csv_to_rof(csv_contents, config = {}) ⇒ Hash
In ROF format.
Class Method Details
.csv_to_rof(csv_contents, config = {}) ⇒ Hash
Returns in ROF format.
19 20 21 |
# File 'lib/rof/translators.rb', line 19 def self.csv_to_rof(csv_contents, config = {}) CsvToRof.call(csv_contents, config) end |