method
output_to_tty?
1.1.4 -
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 113
def output_to_tty?
begin
@output == Kernel || @output.tty?
rescue NoMethodError
false
end
end