class ProcessExecuter::Destinations::ChildRedirection
@api private
Handles generic objects that respond to write
def self.compatible_with_monitored_pipe? = false
- Api: - private
Returns:
-
(Boolean)
-
def self.compatible_with_monitored_pipe? = false
def self.handles?(destination)
-
(Boolean)
- true if destination responds to write but is not an IO with fileno
Parameters:
-
destination
(Object
) -- the destination to check
def self.handles?(destination) destination.is_a?(Array) && destination.size == 2 && destination[0] == :child end