class

Athena::Console::Style::Output

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

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

Constructors

new(output : ACON::Output::Interface)
Source

Instance 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.

Source
decorated=(decorated : Bool) : Nil

See ACON::Output::Interface#decorated=.

Source
decorated?

See ACON::Output::Interface#decorated?.

Source
formatter

See ACON::Output::Interface#formatter.

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

See ACON::Output::Interface#formatter=.

Source
new_line(count : Int32 = 1) : Nil

Prints count empty new lines.

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

See ACON::Output::Interface#puts.

Source
verbosity

See ACON::Output::Interface#verbosity.

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

See ACON::Output::Interface#verbosity=.

Source