Projects / RubyTree

RubyTree

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
Licenses
Operating Systems
Implementation

RSS Last announcement

RubyTree is now mirrored on Github! 06 Jan 2010

The SVN source repository for RubyTree is now mirrored on GitHub.

The URL to the repository is:

http://wiki.github.com/evolve75/RubyTree

T...

RSS Recent releases

  •  16 Dec 2011 15:43

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.

  •  02 Oct 2010 20:44

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.

  •  30 Jan 2010 19:13

Release Notes: The documentation was updated and refined.

  •  04 Jan 2010 22:19

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.

Screenshot

Project Spotlight

MinionJS

Cross-platform and cross-browser classical inheritance in JavaScript.

Screenshot

Project Spotlight

cryptmount

A tool for setup and on-demand mounting of encrypted filesystems under Linux.