Sha256: 64f7e13ffbd80bce98b7f986b919924bb1b782570e2716cac618f599ba36e11d
Contents?: true
Size: 503 Bytes
Versions: 10
Compression:
Stored size: 503 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
10 entries across 10 versions & 2 rubygems