Categories: None [Edit]
tree.rb
(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>
Total
Ranking: 31,468 of 197,085
Downloads: 45,647
Daily
Ranking: 87,723 of 197,066
Downloads: 0
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 25,801 | 60,839 | dircat |
| 33,283 | 42,352 | treevisitor |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | tokiro |