Sha256: 1e56a52f54b05ad7163177d1c141f65dbfec50a84702fe07de93b50da7c47f60
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 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 = 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
relaton-ietf-1.12.1 | lib/relaton_ietf/hash_converter.rb |
relaton-ietf-1.12.0 | lib/relaton_ietf/hash_converter.rb |
relaton-ietf-1.11.6 | lib/relaton_ietf/hash_converter.rb |