Sha256: c00e9bf2e552e5707a5c3cd26ba790a9a07540c081141873888bbc8ab9fa7776
Contents?: true
Size: 506 Bytes
Versions: 16
Compression:
Stored size: 506 Bytes
Contents
require "nokogiri" module RelatonOmg class XMLParser < RelatonBib::XMLParser class << self private # def item_data(ietfitem) # data = super # ext = ietfitem.at "./ext" # return data unless ext # data[:doctype] = ext.at("./doctype")&.text # data # end # @param item_hash [Hash] # @return [RelatonOmg::OmgBibliographicItem] def bib_item(item_hash) OmgBibliographicItem.new(**item_hash) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems