Ameba::Formatter::BaseFormatter
A base formatter for all formatters. It uses output IO
to report results and also implements stub methods for
callbacks in Ameba::Runner#run method.
Constructors
Instance methods
config
Sourcefinished(sources) : Nil
Callback that indicates when inspection is finished. A list of inspected sources is passed as an argument.
source_finished(source : Source) : Nil
Callback that indicates when source inspection is finished. A corresponding source is passed as an argument.
WARNING: This method needs to be MT safe
source_started(source : Source) : Nil
Callback that indicates when source inspection is started. A corresponding source is passed as an argument.
WARNING: This method needs to be MT safe
started(sources) : Nil
Callback that indicates when inspecting is started. A list of sources to inspect is passed as an argument.