struct

Mint::Formatter::BrokenString

Inherits Struct < Value < Object

Describes a broken string ("Hello" \ "There") and contains logic to break the string just so that it fits with the maximum column length. It tries to break by words but will break words that doesn't fit in the remaining column width.

Constructors

new(items : Array(String | Nodes))
Source

Instance methods

clone
Source
copy_with(items _items = @items)
Source
items