Class: Taski::Execution::ParallelProgressDisplay::TaskProgress
- Inherits:
-
Object
- Object
- Taski::Execution::ParallelProgressDisplay::TaskProgress
- Defined in:
- lib/taski/execution/parallel_progress_display.rb
Instance Attribute Summary collapse
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#end_time ⇒ Object
Returns the value of attribute end_time.
-
#error ⇒ Object
Returns the value of attribute error.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
-
#state ⇒ Object
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize ⇒ TaskProgress
constructor
A new instance of TaskProgress.
Constructor Details
#initialize ⇒ TaskProgress
Returns a new instance of TaskProgress.
13 14 15 16 17 18 19 |
# File 'lib/taski/execution/parallel_progress_display.rb', line 13 def initialize @state = :pending @start_time = nil @end_time = nil @error = nil @duration = nil end |
Instance Attribute Details
#duration ⇒ Object
Returns the value of attribute duration.
11 12 13 |
# File 'lib/taski/execution/parallel_progress_display.rb', line 11 def duration @duration end |
#end_time ⇒ Object
Returns the value of attribute end_time.
11 12 13 |
# File 'lib/taski/execution/parallel_progress_display.rb', line 11 def end_time @end_time end |
#error ⇒ Object
Returns the value of attribute error.
11 12 13 |
# File 'lib/taski/execution/parallel_progress_display.rb', line 11 def error @error end |
#start_time ⇒ Object
Returns the value of attribute start_time.
11 12 13 |
# File 'lib/taski/execution/parallel_progress_display.rb', line 11 def start_time @start_time end |
#state ⇒ Object
Returns the value of attribute state.
11 12 13 |
# File 'lib/taski/execution/parallel_progress_display.rb', line 11 def state @state end |