Welcome to RubyTree

Get RubyTree

Download RubyTree 0.6.2


News
  • Jan 30, 2010 - 0.6.2 released

    Updated the documentation.
    More...

  • Jan 04, 2010 - RubyTree is now on Github!

    RubyTree's source code has now been mirrored on Github!
    More...

  • Jan 04, 2010 - 0.6.1 released

    Removed the hard-dependency on 'structured_warnings' RubyGem and converted it to a soft-dependency instead. Installing RubyTree will no longer require the installation of 'structured_warnings'.
    More...

  • Jan 03, 2010 - 0.6.0 released

    Fixed bug # 22535. Note that this release deprecates the Tree::TreeNode#depth method.
    More...

  • Jan 01, 2010 - 0.5.3 released

    Updates to documentation. Build and packaging now uses Hoe
    More...

  • Older News ...

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-generated code using generic APIs.

The current version provides implementations of:

Future versions may include other tree implementations such as the balanced binary, AVL and Red-Black trees.

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

What's New?

  • The current version is 0.6.2 (released on Jan 30, 2010). This is a documentation update release.
  • Version Control for RubyTree has been moved to Subversion & mirrored on github!

Installing RubyTree

You can download and install the latest version by issuing the following command from your terminal/command line (you may need to do this as the super user): $ gem install rubytree

After install, you can check the documentation for RubyTree by looking up the RDoc using: $ ri Tree::TreeNode