lib/import/equalizer4.rb in tracksperanto-2.1.1 vs lib/import/equalizer4.rb in tracksperanto-2.2.0
- old
+ new
@@ -3,14 +3,13 @@
def self.human_name
"3DE v4 point export file"
end
-
- def stream_parse(passed_io)
- io = Tracksperanto::ExtIO.new(passed_io)
+ def each
+ io = Tracksperanto::ExtIO.new(@io)
num_t = detect_num_of_points(io)
- num_t.times { send_tracker(extract_tracker(io)) }
+ num_t.times { yield(extract_tracker(io)) }
end
private
def detect_num_of_points(io)
\ No newline at end of file