method
output_to_tty?
1.2.0 -
Show latest stable
- Class:
Spec::Runner::Formatter::BaseTextFormatter
output_to_tty?()protected
No documentation available.
# File lib/spec/runner/formatter/base_text_formatter.rb, line 118
def output_to_tty?
begin
@output.tty? || ENV.has_key?("AUTOTEST")
rescue NoMethodError
false
end
end