Skip to content

class Athena::Console::Output::Null
inherits Reference #

An ACON::Output::Interface that does not output anything, such as for tests.

Included modules

Athena::Console::Output::Interface

Methods#

#decorated=(decorated : Bool) : Nil#

Sets if printed messages should be decorated.

View source

#decorated? : Bool#

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

View source

#formatter : ACON::Formatter::Interface#

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

View source

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

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

View source

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

:inherit:

View source

#print(message, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil#

View source

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

:inherit:

View source

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

View source

#verbosity : ACON::Output::Verbosity#

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

View source

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

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

View source