Athena::Console::Formatter::Output
Inherits Athena::Console::Formatter::WrappableInterface / Athena::Console::Formatter::Interface / Reference / Object
Default implementation of ACON::Formatter::WrappableInterface.
Constructors
Class methods
Returns a new string where the special < characters in the provided text are escaped.
Returns a new string where trailing \ in the provided text is escaped.
Instance methods
Formats the provided message according to the stored styles.
Formats the provided message according to the defined styles, wrapping it at the provided width.
A width of 0 means no wrapping.
ameba:disable Metrics/CyclomaticComplexity
Returns true if self has a style with the provided name, otherwise false.
Assigns the provided style to the provided name.
Returns an ACON::Formatter::OutputStyleInterface with the provided name.