Sha256: 04b2ffb050a9a005c37df9e9b13f43be6b7ee2a7fbfff115fe4cf92bf92a4d13
Contents?: true
Size: 445 Bytes
Versions: 13
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module TrajectPlus # Reads in XML records for traject class XmlReader # @param input_stream [File] # @param settings [Traject::Indexer::Settings] def initialize(input_stream, settings) @settings = Traject::Indexer::Settings.new settings @input_stream = input_stream @xml = Nokogiri::XML(input_stream) end attr_reader :xml def each yield(xml) end end end
Version data entries
13 entries across 13 versions & 1 rubygems