RubyGems.org

tree.rb

0.3.12

(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>

installgem install tree.rb
Authors

Tokiro

8,068 total downloads 368 for this version
Owners

74c80db8d09918ddf5041094328e7677

Gemfile
gem 'tree.rb', '~> 0.3.12'
Versions
  1. 0.3.12 August 21, 2013 (89 KB)
  2. 0.3.11 April 18, 2013 (91 KB)
  3. 0.3.10 September 22, 2012 (91 KB)
  4. 0.3.9 September 16, 2012 (90 KB)
  5. 0.3.8 September 15, 2012 (131 KB)
Show all versions (14 total)