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.
Version 2.1.0 released on August 12, 2024.
Version 2.0.3 released on December 27, 2023.
create_additions: true
while parsing JSON string to tree objectsVersion 2.0.2 released on June 27, 2023.
Version 2.0.0 released on June 21, 2022.
structered_warnings
rbx
removed
Download & install the latest version using rubygem
(you may need to do this with admin rights):
$ gem install rubytree
Check the documentation for RubyTree by looking up the RDoc using ri
, or by browsing the online documentation.
$ ri Tree::TreeNode
Help RubyTree with your suggestions, bug reports, or patches and pull requests.