class ProcessExecuter::Destinations::Tee

def initialize(destination)

Raises:
  • (ArgumentError) - if the mode is invalid
  • (Errno::ENOENT) - if the file path is invalid

Returns:
  • (FilePathModePerms) - a new handler instance

Parameters:
  • destination (Array) -- array with file path, mode, and permissions
def initialize(destination)
  super
  @child_destinations = destination[1..].map { |dest| ProcessExecuter::Destinations.factory(dest) }
end