Sha256: a5e113ced002ef378a3120c0a795eabf13c3700213952808774d7cc165f8b070

Contents?: true

Size: 366 Bytes

Versions: 5

Compression:

Stored size: 366 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

5 entries across 5 versions & 1 rubygems

Version Path
relaton-ietf-1.9.0 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.8.0 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.7.5 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.7.4 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.7.3 lib/relaton_ietf/xml_parser.rb