Sha256: cff0cdd966bb5dd10888d12d454b8a3410092e9f41b4acc6a63aca846605bd27
Contents?: true
Size: 495 Bytes
Versions: 11
Compression:
Stored size: 495 Bytes
Contents
module Relaton3gpp class HashConverter < RelatonBib::HashConverter class << self def hash_to_bib(args, nested = false) hash = super release_hash_to_bib(hash) hash end def release_hash_to_bib(hash) hash[:release] &&= Release.new(**hash[:release]) end # @param item_hash [Hash] # @return [RelatonBib::BibliographicItem] def bib_item(item_hash) BibliographicItem.new(**item_hash) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems