Class: Mutant::Reporter::CLI::Format::Output

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/reporter/cli/format.rb

Overview

Output abstraction to decouple tty? from buffer

Instance Method Summary collapse

Instance Method Details

#tty?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Test if output is a tty

Returns:

  • (Boolean)

48
49
50
# File 'lib/mutant/reporter/cli/format.rb', line 48

def tty?
  @tty
end