# File lib/luck/progressbar.rb, line 41 def percentage2 return 0 if @maximum2 == 0 @value2.to_f / @maximum2.to_f end