lib/import/shake_script.rb in tracksperanto-4.1.3 vs lib/import/shake_script.rb in tracksperanto-4.2.0

- old
+ new

@@ -14,13 +14,13 @@ def self.known_snags 'Expressions in node parameters may cause parse errors or incomplete imports. ' + 'Take care to remove expressions or nodes containing them first.' end - def each + def each(&blk) s = Sentinel.new s.progress_proc = method(:report_progress) - s.tracker_proc = Proc.new + s.tracker_proc = blk.to_proc TrackExtractor.new(@io, s) end private