class TreeGraph::BottomUp
Public Instance Methods
branch()
click to toggle source
# File lib/tree_graph.rb, line 83 def branch return '' unless parent is_last ? '┌─' : '├─' end
tree_graph()
click to toggle source
# File lib/tree_graph.rb, line 79 def tree_graph levels.reverse.join("\n") end