Class: Bosh::Cli::NonInteractiveProgressRenderer

Inherits:
Object
  • Object
show all
Defined in:
lib/cli/non_interactive_progress_renderer.rb

Instance Method Summary collapse

Constructor Details

#initializeNonInteractiveProgressRenderer

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, message)
  render(path, message)
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