struct Fancyline::StringUtil::Dimension
- Fancyline::StringUtil::Dimension
- Struct
- Value
- Object
Overview
Dimensions of a string when displayed on a terminal. Stores the count of
characters in each row (#rows
), the longest row (#columns
), and the
total count of human-visible #characters
.
Defined in:
fancyline/string_util.crConstructors
Instance Method Summary
- #characters : Int32
- #clone
- #columns : Int32
- #copy_with(rows _rows = @rows, columns _columns = @columns, characters _characters = @characters)
- #rows : Array(Int32)
Constructor Detail
Instance Method Detail
def copy_with(rows _rows = @rows, columns _columns = @columns, characters _characters = @characters)
#