# File lib/archive/tar/minitar/command.rb, line 35 35: def initialize (title, total, out = STDERR) 36: @title = title 37: @total = total 38: @out = out 39: @bar_width = 80 40: @bar_mark = "o" 41: @current = 0 42: @previous = 0 43: @is_finished = false 44: @start_time = Time.now 45: @previous_time = @start_time 46: @title_width = 14 47: @format = "%-#{@title_width}s %3d%% %s %s" 48: @format_arguments = [:title, :percentage, :bar, :stat] 49: show 50: end