lib/import/match_mover.rb in tracksperanto-2.1.1 vs lib/import/match_mover.rb in tracksperanto-2.2.0

- old
+ new

@@ -10,13 +10,12 @@ def self.distinct_file_ext ".rz2" end - def stream_parse(io) - trackers = [] - detect_format(io) - extract_trackers(io) { |t| send_tracker(t) } + def each + detect_format(@io) + extract_trackers(@io) { |t| yield(t) } end private def detect_format(io) \ No newline at end of file