module Sheen::Tree

Defined in:

sheen/tree.cr
sheen/tree_painter.cr

Class Method Summary

Class Method Detail

def self.default_enumerator(children : Children, index : Int32) : String #

Default branch enumerator symbol.


[View source]
def self.default_indenter(children : Children, index : Int32) : String #

The default indenter (three spaces).


[View source]
def self.rounded_enumerator(children : Children, index : Int32) : String #

A branch enumerator symbol with a rounded corner for the last child.


[View source]
def self.string_data(*values : String) : Children #

Builds a detached Children of Leaf nodes out of values.

Is a data source for a Filter or for Branch#child.


[View source]