Class: ProgressBar

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-progressbar/components/bar.rb,
lib/ruby-progressbar.rb,
lib/ruby-progressbar/base.rb,
lib/ruby-progressbar/time.rb,
lib/ruby-progressbar/timer.rb,
lib/ruby-progressbar/output.rb,
lib/ruby-progressbar/version.rb,
lib/ruby-progressbar/progress.rb,
lib/ruby-progressbar/throttle.rb,
lib/ruby-progressbar/outputs/tty.rb,
lib/ruby-progressbar/format/string.rb,
lib/ruby-progressbar/components/rate.rb,
lib/ruby-progressbar/components/time.rb,
lib/ruby-progressbar/format/molecule.rb,
lib/ruby-progressbar/outputs/non_tty.rb,
lib/ruby-progressbar/components/title.rb,
lib/ruby-progressbar/format/formatter.rb,
lib/ruby-progressbar/calculators/length.rb,
lib/ruby-progressbar/components/percentage.rb,
lib/ruby-progressbar/calculators/length_spec.rb,
lib/ruby-progressbar/calculators/running_average.rb,
lib/ruby-progressbar/errors/invalid_progress_error.rb

Overview

OOB = ‘Out of Bounds’

Defined Under Namespace

Modules: Calculators, Components, Format, Outputs Classes: Base, InvalidProgressError, Output, Progress, Throttle, Time, Timer

Constant Summary collapse

VERSION =
'1.8.0'.freeze

Class Method Summary collapse

Class Method Details

.create(*args) ⇒ Object



14
15
16
# File 'lib/ruby-progressbar.rb', line 14

def self.create(*args)
  ProgressBar::Base.new(*args)
end