Sha256: 8824e2ee5bb5ad5a5e06393b0cb6521ed7512c638ddad63677281720a21fe0fb
Contents?: true
Size: 670 Bytes
Versions: 26
Compression:
Stored size: 670 Bytes
Contents
module RelatonIetf class HashConverter < RelatonBib::HashConverter class << self # # Ovverides superclass's method # # @param item [Hash] # @retirn [RelatonIetf::IetfBibliographicItem] def bib_item(item) IetfBibliographicItem.new(**item) end # @param ret [Hash] def editorialgroup_hash_to_bib(ret) return unless ret[:editorialgroup] technical_committee = RelatonBib.array(ret[:editorialgroup]).map do |wg| Committee.new RelatonBib::WorkGroup.new(**wg) end ret[:editorialgroup] = RelatonBib::EditorialGroup.new technical_committee end end end end
Version data entries
26 entries across 26 versions & 1 rubygems