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

#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:

Returns:

  • (String)


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

abstract_method :progress

#report(env) ⇒ String

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.

Format result

Parameters:

Returns:

  • (String)


36
37
38
# File 'lib/mutant/reporter/cli/format.rb', line 36

def report(env)
  format(Printer::EnvResult, env)
end

#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