Sha256: 42ea90f3aa79586dc0f454133fdae9c842dd6449a02a4579bd3976b550f789ed

Contents?: true

Size: 364 Bytes

Versions: 9

Compression:

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

9 entries across 9 versions & 1 rubygems

Version Path
relaton-ietf-1.7.2 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.7.1 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.7.0 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.6.0 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.6.pre1 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.5.0 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.5.pre lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.4.0 lib/relaton_ietf/xml_parser.rb
relaton-ietf-1.3.0 lib/relaton_ietf/xml_parser.rb