# File lib/progressbar.rb, line 210 def inc (step = 1) @current += step @current = @total if @current > @total show_if_needed @previous = @current end