Class: Mutant::Reporter::CLI::Format::Framed
- Inherits:
-
Mutant::Reporter::CLI::Format
- Object
- Mutant::Reporter::CLI::Format
- Mutant::Reporter::CLI::Format::Framed
- Defined in:
- lib/mutant/reporter/cli/format.rb
Overview
Format for framed rewindable output
Constant Summary collapse
- BUFFER_FLAGS =
'a+'.freeze
- REPORT_FREQUENCY =
20.0
- REPORT_DELAY =
1 / REPORT_FREQUENCY
Instance Method Summary collapse
-
#progress(status) ⇒ String
private
Format progress.
-
#start(_env) ⇒ String
private
Format start.
Methods inherited from Mutant::Reporter::CLI::Format
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.
Format progress
136 137 138 |
# File 'lib/mutant/reporter/cli/format.rb', line 136 def progress(status) format(Printer::Status, 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.
Format start
125 126 127 |
# File 'lib/mutant/reporter/cli/format.rb', line 125 def start(_env) tput.prepare end |