Gem renamed to tree.rb (https://rubygems.org/gems/tree.rb). Please update your dependencies. Implementation of visitor design pattern. It contains a 'tree.rb' command line clone of the tree unix tool.
Implementation of visitor design pattern. It contains a 'tree.rb' command line clone of the tree unix tool.
(This gem was named as treevisitor) tree.rb is a 'clone' of tree unix command. The gem implements a library to mange tree structures. The gem contains also a library to build tree with a dsl (domain specific language), and an implementation of visitor design pattern. An example of DSL to build tree: <pre> tree = TreeNode.create do node "root" do leaf "l1" node "sub" do leaf "l3" end node "wo leaves" end </pre>