Class: Mutant::Isolation::Result Private

Inherits:
Object
  • Object
show all
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

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

Returns:

  • (Boolean)


21
22
23
# File 'lib/mutant/isolation.rb', line 21

def valid_value?
  timeout.nil? && exception.nil? && (process_status.nil? || process_status.success?)
end