What is RubyTree?

RubyTree is a simple and general purpose implementation of the Tree data structure for the Ruby language. RubyTree aims to provide a simple to use node based model for the conceptual tree, and the ability to extend the model into specialized cases in user code via generic APIs.

The current version provides implementations of:

RubyTree is available as a Rubygem and is released under the BSD License.

What's New?

Major bugfix version 0.9.3 released on Feb 01, 2014. As of this version, RubyTree no longer requires globally unique node names (fix to issue #24).

Major version 0.9.2 released on Jan 03, 2014. This provides multiple features and bug fixes, and updated documentation.

See the the Changelog for details.

Installing RubyTree

Download & install the latest version using rubygem (you may need to do this as the super user):

$ gem install rubytree

Check the documentation for RubyTree by looking up the RDoc using yri, or by browsing the online documentation.

$ yri Tree::TreeNode

Helping RubyTree

Help RubyTree with your suggestions, bug reports, or patches.