lib/common/progressbar.rb in liri-0.3.1 vs lib/common/progressbar.rb in liri-0.4.0

- old
+ new

@@ -10,19 +10,19 @@ module Liri module Common module Progressbar class << self def start(params = {}) - @compressing = true + @progressing = true progressbar = ProgressBar.create(params) Thread.new do - while @compressing + while @progressing progressbar.increment sleep(0.1) end end yield - @compressing = false + @progressing = false end end end end end \ No newline at end of file