struct Tallboy::Text
- Tallboy::Text
- Struct
- Value
- Object
Defined in:
tallboy/render_tree_builder/node/text.crConstructors
Instance Method Summary
- #align : Tallboy::Alignment
- #height
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #render(line_num : Int32 = 0)
- #value(line_num)
- #value : String
- #width : Int32
- #with_align(value, align, width)
- #with_padding(value)
Constructor Detail
Instance Method Detail
def inspect
#
Description copied from class Object
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
This method should usually not be overridden. It delegates to
#inspect(IO)
which can be overridden for custom implementations.
Also see #to_s
.