# File lib/formatador/progressbar.rb, line 3 def redisplay_progressbar(current, total, options = {}) options = { :color => 'white', :width => 50 }.merge!(options) data = progressbar(current, total, options) if current < total redisplay(data) else redisplay("#{data}\n") @progressbar_started_at = nil end end