Class: ProgressBar

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-progressbar/time.rb,
lib/ruby-progressbar.rb,
lib/ruby-progressbar/base.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/projector.rb,
lib/ruby-progressbar/outputs/tty.rb,
lib/ruby-progressbar/outputs/null.rb,
lib/ruby-progressbar/format/string.rb,
lib/ruby-progressbar/components/bar.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/projectors/smoothed_average.rb,
lib/ruby-progressbar/errors/invalid_progress_error.rb,
lib/ruby-progressbar/refinements/progress_enumerator.rb

Overview

OOB = ‘Out of Bounds’

Defined Under Namespace

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

Constant Summary collapse

VERSION =
'1.13.0'.freeze

Class Method Summary collapse

Class Method Details

.create(*args) ⇒ Object



9
10
11
# File 'lib/ruby-progressbar.rb', line 9

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