Class: ConsoleProgressBar::ProgressBar
- Inherits:
-
Object
- Object
- ConsoleProgressBar::ProgressBar
- Defined in:
- lib/console_progress_bar.rb
Instance Method Summary collapse
Instance Method Details
#animator(options = {}) ⇒ Object
17 18 19 20 |
# File 'lib/console_progress_bar.rb', line 17 def animator( = {}) () ConsoleProgressBar::Animator.new(@total, @with_elapsed_time, @with_remaining_time, @increment_size) end |
#bar(options = {}) ⇒ Object
22 23 24 25 |
# File 'lib/console_progress_bar.rb', line 22 def ( = {}) () ConsoleProgressBar::Bar.new(@total, @with_elapsed_time, @with_remaining_time, @increment_size, @width) end |
#counter(options = {}) ⇒ Object
12 13 14 15 |
# File 'lib/console_progress_bar.rb', line 12 def counter( = {}) () ConsoleProgressBar::Counter.new(@total, @with_elapsed_time, @with_remaining_time, @increment_size) end |