# File lib/buildr/core/progressbar.rb, line 104 def progress(width) width -= 2 marks = @total == 0 ? width : (@count * width / @total) "|%-#{width}s|" % (@mark * marks) end