Class: Hatchet::Features::TaskMetrics
- Inherits:
-
Struct
- Object
- Struct
- Hatchet::Features::TaskMetrics
- Defined in:
- lib/hatchet/features/metrics.rb
Overview
Simple struct for task metrics grouped by status
Instance Attribute Summary collapse
-
#cancelled ⇒ Object
Returns the value of attribute cancelled.
-
#completed ⇒ Object
Returns the value of attribute completed.
-
#failed ⇒ Object
Returns the value of attribute failed.
-
#queued ⇒ Object
Returns the value of attribute queued.
-
#running ⇒ Object
Returns the value of attribute running.
Instance Attribute Details
#cancelled ⇒ Object
Returns the value of attribute cancelled
8 9 10 |
# File 'lib/hatchet/features/metrics.rb', line 8 def cancelled @cancelled end |
#completed ⇒ Object
Returns the value of attribute completed
8 9 10 |
# File 'lib/hatchet/features/metrics.rb', line 8 def completed @completed end |
#failed ⇒ Object
Returns the value of attribute failed
8 9 10 |
# File 'lib/hatchet/features/metrics.rb', line 8 def failed @failed end |
#queued ⇒ Object
Returns the value of attribute queued
8 9 10 |
# File 'lib/hatchet/features/metrics.rb', line 8 def queued @queued end |
#running ⇒ Object
Returns the value of attribute running
8 9 10 |
# File 'lib/hatchet/features/metrics.rb', line 8 def running @running end |