class Toys::Utils::Exec::Executor

def interpret_out_array(key, setting)

def interpret_out_array(key, setting)
  case setting.first
  when ::Symbol
    setup_out_stream_of_type(key, setting.first, setting[1..-1])
  when ::String
    setup_out_stream_of_type(key, :file, setting)
  else
    raise "Unknown value for #{key}: #{setting.inspect}"
  end
end