Class: ProgressBars::Colored
- Inherits:
-
ProgressBar
- Object
- ProgressBar
- ProgressBars::Colored
- Defined in:
- lib/kafo/progress_bars/colored.rb
Instance Method Summary collapse
Methods inherited from ProgressBar
#close, #initialize, #print, #update
Constructor Details
This class inherits a constructor from ProgressBar
Instance Method Details
#print_error(line) ⇒ Object
4 5 6 |
# File 'lib/kafo/progress_bars/colored.rb', line 4 def print_error(line) print ANSI::Code.red { line } end |