class ProcessExecuter::Destinations::ChildRedirection

@api private
Handles generic objects that respond to write

def self.compatible_with_monitored_pipe? = false

Other tags:
    Api: - private

Returns:
  • (Boolean) -
def self.compatible_with_monitored_pipe? = false

def self.handles?(destination)

Returns:
  • (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