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#

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.

View source

#decorated=(decorated : Bool) : Nil#

View source

#formatter : ACON::Formatter::Interface#

View source

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

Prints count empty new lines.

View source

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

View source

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

View source

#verbosity : ACON::Output::Verbosity#

View source