class

Lipgloss::StyleTable::Table

Inherits Reference < Object

Constructors

new

Instance methods

append_rows(rows : Array(Array(String))) : Nil
base_style(style : Style) : self
base_style
border(border : Border) : self
border
border_bottom(v : Bool) : self
border_bottom
border_bottom=(border_bottom : Bool)
border_bottom?
border_column(v : Bool) : self
border_column
border_column=(border_column : Bool)
border_column?
border_header(v : Bool) : self

Fluent setters

border_header
border_header=(border_header : Bool)
border_header?
border_left(v : Bool) : self
border_left
border_left=(border_left : Bool)
border_left?
border_right(v : Bool) : self
border_right
border_right=(border_right : Bool)
border_right?
border_row(v : Bool) : self
border_row
border_row=(border_row : Bool)
border_row?
border_style(style : Style) : self
border_style
border_top(v : Bool) : self
border_top
border_top=(border_top : Bool)
border_top?
clear_rows
data(data : Data) : self
data
data=(data : Data)
first_visible_row_index
get_border_bottom

ameba:disable Naming/AccessorMethodName

get_border_column

ameba:disable Naming/AccessorMethodName

get_border_header

ameba:disable Naming/AccessorMethodName

get_border_left

ameba:disable Naming/AccessorMethodName

get_border_right

ameba:disable Naming/AccessorMethodName

get_border_row

ameba:disable Naming/AccessorMethodName

get_border_top

Getters matching Go API ameba:disable Naming/AccessorMethodName

get_data

ameba:disable Naming/AccessorMethodName

get_headers

ameba:disable Naming/AccessorMethodName

get_height

ameba:disable Naming/AccessorMethodName

get_y_offset

ameba:disable Naming/AccessorMethodName

headers
headers(*headers : String) : self
headers=(headers : Array(String))
height(h : Int32) : self
height
height=(height : Int32)
heights
last_visible_row_index
offset(o : Int32) : self
offset
offset=(offset : Int32)
overflow_height
render
resize_for_spec

Expose resize for debugging/testing

row(row : Enumerable(String)) : self
row(*row : String) : self
rows(rows : Enumerable(Enumerable(String))) : self
rows(*rows : Array(String)) : self
string
style(row : Int32, col : Int32) : Style
style_func(func : StyleFunc | Nil) : self
style_func
style_func=(style_func : StyleFunc | Nil)
use_manual_height=(use_manual_height : Bool)
use_manual_height?
visible_rows
width(w : Int32) : self
width
width=(width : Int32)
widths
wrap(v : Bool) : self
wrap=(wrap : Bool)
wrap?
y_offset(o : Int32) : self
y_offset