Class: Moult::Health::Run
- Inherits:
-
Struct
- Object
- Struct
- Moult::Health::Run
- Defined in:
- lib/moult/health.rb
Overview
The outcome of one isolated analysis run.
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
24 25 26 |
# File 'lib/moult/health.rb', line 24 def error @error end |
#value ⇒ Object
Returns the value of attribute value
24 25 26 |
# File 'lib/moult/health.rb', line 24 def value @value end |
Instance Method Details
#ok? ⇒ Boolean
25 26 27 |
# File 'lib/moult/health.rb', line 25 def ok? error.nil? && !value.nil? end |