Class: Relaton3gpp::HashConverter
- Inherits:
-
RelatonBib::HashConverter
- Object
- RelatonBib::HashConverter
- Relaton3gpp::HashConverter
- Defined in:
- lib/relaton_3gpp/hash_converter.rb
Class Method Summary collapse
- .bib_item(item_hash) ⇒ RelatonBib::BibliographicItem
- .hash_to_bib(args, nested = false) ⇒ Object
- .release_hash_to_bib(hash) ⇒ Object
Class Method Details
.bib_item(item_hash) ⇒ RelatonBib::BibliographicItem
16 17 18 |
# File 'lib/relaton_3gpp/hash_converter.rb', line 16 def bib_item(item_hash) BibliographicItem.new(**item_hash) end |
.hash_to_bib(args, nested = false) ⇒ Object
4 5 6 7 8 |
# File 'lib/relaton_3gpp/hash_converter.rb', line 4 def hash_to_bib(args, nested = false) hash = super release_hash_to_bib(hash) hash end |