class RTUI::Progress

def inc step = 1

def inc step = 1
  @current += step
  @current = @total if @current > @total
  show_if_needed
  @previous = @current
end