Method: COS::Tree#print_tree

Defined in:
lib/cos/tree.rb

命令行打印树结构



47
48
49
50
# File 'lib/cos/tree.rb', line 47

def print_tree
  create_tree(path, [])
  puts @tree_str
end