class Relaton3gpp::HashConverter
Public Class Methods
bib_item(item_hash)
click to toggle source
@param item_hash [Hash] @return [Relaton3gpp::BibliographicItem]
# 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)
click to toggle source
Calls superclass method
# 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
release_hash_to_bib(hash)
click to toggle source
# File lib/relaton_3gpp/hash_converter.rb, line 10 def release_hash_to_bib(hash) hash[:release] &&= Release.new(**hash[:release]) end