Class: Mutant::Isolation::Fork::Parent Private

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/isolation/fork.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.

rubocop:disable Metrics/ClassLength

Instance Method Summary collapse

Instance Method Details

#callResult

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.

Parent process

Returns:



80
81
82
83
84
85
86
87
88
89
# File 'lib/mutant/isolation/fork.rb', line 80

def call
  @exception     = nil
  @log_fragments = []
  @timeout       = nil
  @value         = nil
  @pid           = start_child

  read_child_result
  result
end