Sha256: 01a4249d9f2ecd3f52b1f698f2484a7ff93a7e296a4bef0cec359deb215f3159

Contents?: true

Size: 235 Bytes

Versions: 3

Compression:

Stored size: 235 Bytes

Contents

module RETS4R
  class Loader
    def self.load(file)
      parser = RETS4R::Client::CompactNokogiriParser.new
      listings = parser.parse_results(file)

      listings.each {|original|
        yield original
      }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
josephholsten-rets4r-1.1.16 lib/rets4r/loader.rb
josephholsten-rets4r-1.1.15 lib/rets4r/loader.rb
josephholsten-rets4r-1.1.14 lib/rets4r/loader.rb