Class: Dobby::Formatter::SimpleFormatter

Inherits:
AbstractFormatter show all
Includes:
Colorizable
Defined in:
lib/dobby/formatter/simple_formatter.rb

Overview

Outputs simple text, possibly colored

Instance Attribute Summary

Attributes inherited from AbstractFormatter

#options, #output

Instance Method Summary collapse

Methods included from Colorizable

#colorize, #rainbow

Methods inherited from AbstractFormatter

#file_started, #finished, #initialize, #started

Constructor Details

This class inherits a constructor from Dobby::Formatter::AbstractFormatter

Instance Method Details

#file_finished(_file, results) ⇒ Object



9
10
11
12
13
# File 'lib/dobby/formatter/simple_formatter.rb', line 9

def file_finished(_file, results)
  return if results.empty?

  each_completed_result(results)
end