class

Crubbletea::Lipgloss::Tree::TreeNode

Inherits Crubbletea::Lipgloss::Tree::Node < Reference < Object

Constructors

Instance methods

child(*items : Node | String) : TreeNode
Source
children
Source
enumerator(e : EnumeratorFn) : TreeNode
Source
enumerator_style(s : Style) : TreeNode
Source
hidden=(v : Bool)
Source
hidden?
Source
indenter(i : IndenterFn) : TreeNode
Source
indenter_style(s : Style) : TreeNode
Source
item_style(s : Style) : TreeNode
Source
root(v : String) : TreeNode
Source
root_style(s : Style) : TreeNode
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source
value
Source
width(w : Int32) : TreeNode
Source