abstract class Athena::Console::Output
inherits Reference
#
Common base implementation of ACON::Output::Interface
.
Included modules
Athena::Console::Output::Interface
Direct known subclasses
Athena::Console::Output::IO
Constructors#
.new(verbosity : ACON::Output::Verbosity | Nil = :normal, decorated : Bool = false, formatter : ACON::Formatter::Interface | Nil = nil)
#
Methods#
#decorated? : Bool
#
Returns true
if printed messages should have their decorations applied.
I.e. ACON::Formatter::OutputStyleInterface
.
#formatter : ACON::Formatter::Interface
#
Returns the ACON::Formatter::Interface
used by self
.
#formatter=(formatter : ACON::Formatter::Interface) : Nil
#
Sets the ACON::Formatter::Interface
used by self
.
#print(message : String | Enumerable(String), verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
#
:inherit:
#print(message : _, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
#
:inherit:
#puts(message : String | Enumerable(String), verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
#
:inherit:
#puts(message : _, verbosity : ACON::Output::Verbosity = :normal, output_type : ACON::Output::Type = :normal) : Nil
#
:inherit:
#verbosity : ACON::Output::Verbosity
#
Returns the minimum ACON::Output::Verbosity
required for a message to be printed.
#verbosity=(verbosity : ACON::Output::Verbosity) : Nil
#
Set the minimum ACON::Output::Verbosity
required for a message to be printed.