Sha256: 8692ca642bc92448b3ceb3f4254d62ebe1276be2564b077a95f9ae48ffd5456b

Contents?: true

Size: 577 Bytes

Versions: 7

Compression:

Stored size: 577 Bytes

Contents

require 'progress_bar/depreciable'
require 'progress_bar/length_calculator'
require 'progress_bar/running_average_calculator'
require 'progress_bar/formatter'
require 'progress_bar/components'
require 'progress_bar/format'
require 'progress_bar/base'

class ProgressBar
  def self.new(*args)
    puts "DEPRECATION WARNING: Calling `ProgressBar.new` is deprecated and will be removed on or after #{ProgressBar::Depreciable::DEPRECATION_DATE}.  Please use `ProgressBar.create` instead."

    create *args
  end

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ruby-progressbar-1.1.1 lib/ruby-progressbar.rb
ruby-progressbar-1.1.0 lib/ruby-progressbar.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/ruby-progressbar-1.0.2/lib/ruby-progressbar.rb
ruby-progressbar-1.0.2 lib/ruby-progressbar.rb
ruby-progressbar-1.0.1 lib/ruby-progressbar.rb
ruby-progressbar-1.0.0 lib/ruby-progressbar.rb
ruby-progressbar-1.0.0rc1 lib/ruby-progressbar.rb