class ProcessExecuter::Destinations::ChildRedirection

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