RubyTree is a simple to use general purpose tree data structure implementation in Ruby. It provides easy access methods for navigating the hierarchy, as well as for accessing the nodes. It also provides ability to marshal the entire tree structure. The library provides a generic tree as well as a binary tree implementation. It is available as a RubyGem or standard Tar/ZIP packages.
| Tags | data structures tree |
|---|---|
| Licenses | BSD Original |
| Operating Systems | OS Independent |
| Implementation | Ruby RubyGem |
Last announcement
The SVN source repository for RubyTree is now mirrored on GitHub.
The URL to the repository is:
http://wiki.github.com/evolve75/RubyTree
T...
Recent releases


Release Notes: This maintenance release fixes a bug with the Tree::TreeNode#to_s method, which was breaking if @content or @parent.name were not string data types.


Release Notes: The main change in this version is conversion of all CamelCase method names to snake_case. The old CamelCase method names will still work (to ensure backwards compatibility), but will also display a warning. The TreeNode.add method now accepts an optional child insertion point, and the subtree from the current node can now be cloned in its entirety. This release also fixes a bug that impacted the Binarytree implementation.


Release Notes: New APIs and functions. Reworked documentation with cross references. New methods to report degree statistics, convert to and from JSON, and convenience methods. Edge case conditions and other minor bugs have been fixed.


Release Notes: The documentation was updated and refined.


Release Notes: This release removes the hard dependency on the 'structured_warnings' RubyGem. However, RubyTree will still be able to use this library if it exists on the user's system.
A tool for setup and on-demand mounting of encrypted filesystems under Linux.