Class: Mutant::Isolation::Result Private
- Inherits:
-
Object
- Object
- Mutant::Isolation::Result
- Defined in:
- lib/mutant/isolation.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Isolated computation result
Instance Method Summary collapse
-
#valid_value? ⇒ Boolean
private
Test for successful result.
Instance Method Details
#valid_value? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test for successful result
21 22 23 |
# File 'lib/mutant/isolation.rb', line 21 def valid_value? timeout.nil? && exception.nil? && (process_status.nil? || process_status.success?) end |