Class: Kafo::ProgressBars::Colored

Inherits:
Kafo::ProgressBar show all
Defined in:
lib/kafo/progress_bars/colored.rb

Constant Summary

Constants inherited from Kafo::ProgressBar

Kafo::ProgressBar::EVALTRACE_END, Kafo::ProgressBar::EVALTRACE_START, Kafo::ProgressBar::MONITOR_RESOURCE, Kafo::ProgressBar::PREFETCH

Instance Method Summary collapse

Methods inherited from Kafo::ProgressBar

#close, #initialize, #print, #update

Constructor Details

This class inherits a constructor from Kafo::ProgressBar

Instance Method Details



5
6
7
# File 'lib/kafo/progress_bars/colored.rb', line 5

def print_error(line)
  print ANSI::Code.red { line }
end