Sha256: 66e1a8b75ca78e4ce18fe1ed8f491a781bfa72dc64d6310725a20227a1c1d75a
Contents?: true
Size: 527 Bytes
Versions: 5
Compression:
Stored size: 527 Bytes
Contents
module Relaton3gpp module HashConverter include RelatonBib::HashConverter extend self def hash_to_bib(args) 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 [Relaton3gpp::BibliographicItem] def bib_item(item_hash) BibliographicItem.new(**item_hash) end def create_doctype(**type) DocumentType.new(**type) end end end
Version data entries
5 entries across 5 versions & 1 rubygems