Skip to content

abstract class Athena::Console::Style::Output
inherits Reference #

Base implementation of ACON::Style::Interface and ACON::Output::Interface that provides logic common to all styles.

Included modules

Athena::Console::Output::Interface Athena::Console::Style::Interface

Direct known subclasses

Athena::Console::Style::Athena

Constructors#

.new(output : ACON::Output::Interface)#

Methods#

#create_progress_bar(max : Int32 | Nil = nil) : ACON::Helper::ProgressBar#

Creates and returns an ACON::Helper::ProgressBar, optionally with the provided max amount of steps.

#decorated=(decorated : Bool) : Nil#

#decorated? : Bool#

#formatter : ACON::Formatter::Interface#

#new_line(count : Int32 = 1) : Nil#

Prints count empty new lines.

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

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

#verbosity : ACON::Output::Verbosity#

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