Class: Bosh::Cli::TaskTracking::EventLogRenderer::Task
- Defined in:
- lib/cli/task_tracking/event_log_renderer.rb
Instance Attribute Summary collapse
-
#finish_time ⇒ Object
Returns the value of attribute finish_time.
-
#name ⇒ Object
Returns the value of attribute name.
-
#progress ⇒ Object
Returns the value of attribute progress.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Instance Method Summary collapse
-
#initialize(name) ⇒ Task
constructor
A new instance of Task.
Constructor Details
#initialize(name) ⇒ Task
Returns a new instance of Task.
378 379 380 381 382 383 |
# File 'lib/cli/task_tracking/event_log_renderer.rb', line 378 def initialize(name) @name = name @progress = 0 @start_time = nil @finish_time = nil end |
Instance Attribute Details
#finish_time ⇒ Object
Returns the value of attribute finish_time.
376 377 378 |
# File 'lib/cli/task_tracking/event_log_renderer.rb', line 376 def finish_time @finish_time end |
#name ⇒ Object
Returns the value of attribute name.
373 374 375 |
# File 'lib/cli/task_tracking/event_log_renderer.rb', line 373 def name @name end |
#progress ⇒ Object
Returns the value of attribute progress.
374 375 376 |
# File 'lib/cli/task_tracking/event_log_renderer.rb', line 374 def progress @progress end |
#start_time ⇒ Object
Returns the value of attribute start_time.
375 376 377 |
# File 'lib/cli/task_tracking/event_log_renderer.rb', line 375 def start_time @start_time end |