lib/relaton_ieee/hash_converter.rb in relaton-ieee-1.7.1 vs lib/relaton_ieee/hash_converter.rb in relaton-ieee-1.7.2

- old
+ new

@@ -13,17 +13,17 @@ end # @param item_hash [Hash] # @return [RelatonIeee::IeeeBibliographicItem] def bib_item(item_hash) - IeeeBibliographicItem.new item_hash + IeeeBibliographicItem.new **item_hash end # @param hash [Hash] def committee_hash_to_bib(hash) return unless hash[:committee] - hash[:committee] = hash[:committee].map { |c| Committee.new c } + hash[:committee] = hash[:committee].map { |c| Committee.new **c } end end end end