module Parallel::ForkManager::ProcessInterface
This module defines an interface to fork
& waitpid
so that there is a good “seam” at which to mock.
{Parallel::ForkManager::ProcessInterface} adds a process_interface
attribute and delegates fork, child_status, and waitpid to it as private methods.
Attributes
process_interface[R]
Private Instance Methods
fork(*args, &block)
click to toggle source
Not quite sure why fork can't be delegated successfully.
# File lib/parallel/forkmanager/process_interface.rb, line 20 def fork(*args, &block) process_interface.fork(*args, &block) end