Sha256: 6b626eb53e221d69a2f620aca48d75278fb168dc86041293977845ff7bf1b9d9

Contents?: true

Size: 367 Bytes

Versions: 26

Compression:

Stored size: 367 Bytes

Contents

require "nokogiri"

module RelatonIetf
  class XMLParser < RelatonBib::XMLParser
    class << self
      private

      # override RelatonBib::BibliographicItem.bib_item method
      # @param item_hash [Hash]
      # @return [RelatonIetf::IetfBibliographicItem]
      def bib_item(item_hash)
        IetfBibliographicItem.new(**item_hash)
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
relaton-ietf-1.9.6 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.9.5 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.9.4 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.9.3 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.9.2 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.9.1 lib/relaton_ietf/xml_parser.rb