Class: Mutant::Reporter::CLI::Format::Progressive Private

Inherits:
Mutant::Reporter::CLI::Format show all
Defined in:
lib/mutant/reporter/cli/format.rb

Overview

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

Format for progressive non rewindable output

API:

  • private

Constant Summary collapse

REPORT_FREQUENCY =

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

API:

  • private

1.0
REPORT_DELAY =

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

API:

  • private

1 / REPORT_FREQUENCY

Instance Method Summary collapse

Methods inherited from Mutant::Reporter::CLI::Format

#delay

Instance Method Details

#progress(status) ⇒ 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.

Progress representation

Returns:

API:

  • private



75
76
77
# File 'lib/mutant/reporter/cli/format.rb', line 75

def progress(status)
  format(Printer::StatusProgressive, status)
end

#start(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.

Start representation

Returns:

API:

  • private



68
69
70
# File 'lib/mutant/reporter/cli/format.rb', line 68

def start(env)
  format(Printer::Env, env)
end