module ProgressBar
Constants
- VERSION
Public Class Methods
new(*a, **o)
click to toggle source
# File lib/progress-bar.rb, line 12 def new *a, **o @klasses.map {|cl| cl.new *a, **o}.find &:possible? end
register(klass)
click to toggle source
# File lib/progress-bar.rb, line 8 def register klass @klasses.push klass end