class RSpec::Core::Configuration

def output_to_tty?(output=output_stream)

def output_to_tty?(output=output_stream)
  output.respond_to?(:tty?) && output.tty?
end