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

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

Methods included from Procto

included

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:



77
78
79
80
81
82
83
84
85
86
# File 'lib/mutant/isolation/fork.rb', line 77

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

  read_child_result
  result
end