class Ameba::Formatter::DotFormatter

Overview

A formatter that shows a progress of inspection in a terminal using dots. It is similar to Crystal's dot formatter for specs.

Included Modules

Direct Known Subclasses

Defined in:

Instance Method Summary

Instance methods inherited from module Ameba::Formatter::Util

affected_code(source, location, max_length = 100, placeholder = " ...", prompt = "> ") affected_code

Instance methods inherited from class Ameba::Formatter::BaseFormatter

config : Hash(Symbol, Bool | String) config, finished(sources) finished, output : IO::FileDescriptor | IO::Memory output, source_finished(source : Source) source_finished, source_started(source : Source) source_started, started(sources) started

Constructor methods inherited from class Ameba::Formatter::BaseFormatter

new(output = STDOUT) new

Instance Method Detail

def finished(sources) #

Reports a message when inspection is finished.


def source_finished(source : Source) #

Reports a result of the inspection of a corresponding source.


def started(sources) #

Reports a message when inspection is started.