module

Athena::Console::Formatter::WrappableInterface

Inherits Athena::Console::Formatter::Interface

Extension of ACON::Formatter::Interface that supports word wrapping.

Instance methods

format_and_wrap(message : String | Nil, width : Int32) : String

Formats the provided message according to the defined styles, wrapping it at the provided width. A width of 0 means no wrapping.

Source