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.

ignore :reek:InstanceVariableAssumption

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:



66
67
68
69
70
71
72
# File 'lib/mutant/isolation/fork.rb', line 66

def call
  pid = start_child or return ForkError.new

  read_child_result(pid)

  @result
end