class

Spectator::Formatting::BroadcastFormatter

Inherits Spectator::Formatting::Formatter / Reference / Object

Reports events to multiple other formatters. Events received by this formatter will be sent to others.

Constructors

new(formatters : Enumerable(Formatter))

Creates the broadcast formatter. Takes a collection of formatters to pass events along to.

Source

Instance methods

close

Forwards the event to other formatters.

Source
dump_failures(notification)

Forwards the event to other formatters.

Source
dump_pending(notification)

Forwards the event to other formatters.

Source
dump_profile(notification)

Forwards the event to other formatters.

Source
dump_summary(notification)

Forwards the event to other formatters.

Source
example_error(notification)

Forwards the event to other formatters.

Source
example_failed(notification)

Forwards the event to other formatters.

Source
example_finished(notification)

Forwards the event to other formatters.

Source
example_passed(notification)

Forwards the event to other formatters.

Source
example_pending(notification)

Forwards the event to other formatters.

Source
example_started(notification)

Forwards the event to other formatters.

Source
message(notification)

Forwards the event to other formatters.

Source
start(notification)

Forwards the event to other formatters.

Source
start_dump

Forwards the event to other formatters.

Source
stop

Forwards the event to other formatters.

Source