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
#
#formatter=(formatter : ACON::Formatter::Interface) : Nil
#
#new_line(count : Int32 = 1) : Nil
#
Prints count empty new lines.