class Mutest::Reporter::CLI::Format::Framed
Format
for framed rewindable output
Constants
- BUFFER_FLAGS
- REPORT_DELAY
- REPORT_FREQUENCY
Public Instance Methods
progress(status)
click to toggle source
Format
progress
@param [Runner::Status] status
@return [String]
# File lib/mutest/reporter/cli/format.rb, line 115 def progress(status) format(Printer::Status, status) end
start(_env)
click to toggle source
Format
start
@param [Env::Bootstrap] env
@return [String]
# File lib/mutest/reporter/cli/format.rb, line 106 def start(_env) tput.prepare end
Private Instance Methods
new_buffer()
click to toggle source
New buffer
@return [StringIO]
# File lib/mutest/reporter/cli/format.rb, line 124 def new_buffer # For some reason this raises an Errno::EACCESS error: # # StringIO.new(Tput::INSTANCE.restore, BUFFER_FLAGS) # buffer = StringIO.new buffer << tput.restore end