Dust::RenderContext
Inherits Reference < Object
Constants
BLOCKS = ['█', '▓', '▒', '░', ' ']
Constructors
new(options : RenderOptions, size_width : Int32, base_size : UInt64, name_width : Int32, ls_colors : Color::LsColors = Color::LsColors.from_env)
SourceInstance methods
base_size
Sourcebiggest?(index : Int32, count : Int32) : Bool
The largest entry of its level gets printed in red.
last?(index : Int32, count : Int32) : Bool
The last entry printed at its level drives └ versus ├.
ls_colors
Sourcename_width
Sourceoptions
Sourcepercent_size(node : DisplayNode) : Float64
Sourcesize_width
Sourcetree_chars(last : Bool, has_children : Bool) : String
Source