class Greener::Formatter::BaseFormatter

Abstract base class for formatter, implements all public API methods.

## Method Invocation Order

For example, when Greener inspects 2 files, the invocation order should be like this:

Public Class Methods

new(files) click to toggle source
# File lib/greener/formatter/base_formatter.rb, line 18
def initialize(files)
  @files = files
end

Public Instance Methods

file_finished(_violations) click to toggle source
# File lib/greener/formatter/base_formatter.rb, line 28
def file_finished(_violations)
end
file_started() click to toggle source
# File lib/greener/formatter/base_formatter.rb, line 25
def file_started
end
finished(_violations) click to toggle source
# File lib/greener/formatter/base_formatter.rb, line 31
def finished(_violations)
end
started() click to toggle source
# File lib/greener/formatter/base_formatter.rb, line 22
def started
end