Class: RETS4R::Loader

Inherits:
Object
  • Object
show all
Defined in:
lib/rets4r/loader.rb

Class Method Summary collapse

Class Method Details

.load(io, &block) ⇒ Object



3
4
5
6
# File 'lib/rets4r/loader.rb', line 3

def self.load(io, &block)
  parser = RETS4R::Client::CompactNokogiriParser.new(io)
  parser.each(&block)
end