class Infobar::Counter

def progress(by: 1, as: nil)

def progress(by: 1, as: nil)
  if !finished? && by >= 1
    now = Time.now
    @start ||= now
    @timer.add(now, by)
    @current += by
    @as[as] += by
  end
  self
end