Class: RelatonIana::XMLParser

Inherits:
RelatonBib::XMLParser
  • Object
show all
Defined in:
lib/relaton_iana/xml_parser.rb

Class Method Summary collapse

Class Method Details

.bib_item(item_hash) ⇒ RelatonIana::IanaBibliographicItem

Parameters:

  • item_hash (Hash)

Returns:



5
6
7
# File 'lib/relaton_iana/xml_parser.rb', line 5

def self.bib_item(item_hash)
  IanaBibliographicItem.new(**item_hash)
end