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)


50
51
52
# File 'lib/mutant/reporter/cli/format.rb', line 50

def tty?
  @tty
end