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

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

Overview

CLI output format

Direct Known Subclasses

Framed, Progressive

Defined Under Namespace

Classes: Framed, Output, Progressive

Instance Method Summary collapse

Instance Method Details

#delayFloat

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.

Return report delay in seconds

Returns:

  • (Float)

34
35
36
# File 'lib/mutant/reporter/cli/format.rb', line 34

def delay
  self.class::REPORT_DELAY
end

#progressString

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.

Return progress representation

Parameters:

  • status (Runner::Status)

Returns:

  • (String)

26
# File 'lib/mutant/reporter/cli/format.rb', line 26

abstract_method :progress

#startString

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.

Return start representation

Parameters:

Returns:

  • (String)

16
# File 'lib/mutant/reporter/cli/format.rb', line 16

abstract_method :start