Parent

Methods

HammerCLIForemanTasks::TaskProgress

Attributes

interval[RW]
task[RW]

Public Class Methods

new(task_id, &block) click to toggle source
# File lib/hammer_cli_foreman_tasks/task_progress.rb, line 6
def initialize(task_id, &block)
  @update_block = block
  @task_id      = task_id
  @interval     = 2
end

Public Instance Methods

render() click to toggle source
# File lib/hammer_cli_foreman_tasks/task_progress.rb, line 12
def render
  update_task
  render_progress
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.