Class: Bosh::Cli::NonInteractiveProgressRenderer
- Defined in:
- lib/cli/non_interactive_progress_renderer.rb
Instance Method Summary collapse
- #error(path, message) ⇒ Object
- #finish(path, label) ⇒ Object
-
#initialize ⇒ NonInteractiveProgressRenderer
constructor
A new instance of NonInteractiveProgressRenderer.
- #progress(path, label, percent) ⇒ Object
- #start(path, label) ⇒ Object
Constructor Details
#initialize ⇒ NonInteractiveProgressRenderer
Returns a new instance of NonInteractiveProgressRenderer.
3 4 5 |
# File 'lib/cli/non_interactive_progress_renderer.rb', line 3 def initialize @mutex = Mutex.new end |
Instance Method Details
#error(path, message) ⇒ Object
14 15 16 |
# File 'lib/cli/non_interactive_progress_renderer.rb', line 14 def error(path, ) render(path, ) end |
#finish(path, label) ⇒ Object
18 19 20 |
# File 'lib/cli/non_interactive_progress_renderer.rb', line 18 def finish(path, label) render(path, label) end |
#progress(path, label, percent) ⇒ Object
11 12 |
# File 'lib/cli/non_interactive_progress_renderer.rb', line 11 def progress(path, label, percent) end |
#start(path, label) ⇒ Object
7 8 9 |
# File 'lib/cli/non_interactive_progress_renderer.rb', line 7 def start(path, label) render(path, label) end |