File: progressbar.rb

package info (click to toggle)
ruby-progressbar 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 948 kB
  • sloc: ruby: 3,617; sh: 29; makefile: 10
file content (12 lines) | stat: -rw-r--r-- 325 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'ruby-progressbar/base'
require 'ruby-progressbar/refinements' if Module.
                                         private_instance_methods.
                                         include?(:using)

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