lib/progress_bar.rb in progress_bar-0.3.3 vs lib/progress_bar.rb in progress_bar-0.3.4
- old
+ new
@@ -134,11 +134,11 @@
end
def percentage_width
if max == 100 # [ 24%]
6
- else # [ 24.0%]
- 8
+ else # [ 24.00%]
+ 9
end
end
def elapsed_width
format_interval(elapsed).length + 2