class

Athena::Console::Output

Inherits Athena::Console::Output::Interface / Reference / Object

Common base implementation of ACON::Output::Interface.

Constructors

new(verbosity : ACON::Output::Verbosity | Nil = :normal, decorated : Bool = false, formatter : ACON::Formatter::Interface | Nil = nil)
Source

Instance methods

decorated=(decorated : Bool) : Nil

Sets if printed messages should be decorated.

Source
decorated?

Returns true if printed messages should have their decorations applied. I.e. ACON::Formatter::OutputStyleInterface.

Source
formatter

Returns the ACON::Formatter::Interface used by self.

Source
formatter=(formatter : ACON::Formatter::Interface) : Nil

Sets the ACON::Formatter::Interface used by self.

Source
puts(message : String | Enumerable(String), verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil

:inherit:

Source
puts(message : _, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil

:inherit:

Source
puts(*messages : String) : Nil

:inherit:

Source
verbosity

Returns the minimum ACON::Output::Verbosity required for a message to be printed.

Source
verbosity=(verbosity : ACON::Output::Verbosity) : Nil

Set the minimum ACON::Output::Verbosity required for a message to be printed.

Source

Nested types