Class: Lemans::Runner::Summary
- Inherits:
-
Struct
- Object
- Struct
- Lemans::Runner::Summary
- Defined in:
- lib/lemans/runner.rb
Overview
rubocop:disable Lint/InheritException
Instance Attribute Summary collapse
-
#interrupted ⇒ Object
Returns the value of attribute interrupted.
-
#results ⇒ Object
Returns the value of attribute results.
Instance Method Summary collapse
Instance Attribute Details
#interrupted ⇒ Object
Returns the value of attribute interrupted
12 13 14 |
# File 'lib/lemans/runner.rb', line 12 def interrupted @interrupted end |
#results ⇒ Object
Returns the value of attribute results
12 13 14 |
# File 'lib/lemans/runner.rb', line 12 def results @results end |
Instance Method Details
#status ⇒ Object
13 14 15 16 17 18 |
# File 'lib/lemans/runner.rb', line 13 def status return :interrupted if interrupted return :invalid if results.any?(&:invalid?) :ok end |