RubyGems Navigation menu

rubytree 2.0.3

RubyTree is a Ruby implementation of the generic tree data structure. It provides simple APIs to store named nodes, and to access, modify, and traverse the tree. The data model is node-centric, where nodes in the tree are the primary structural elements. It supports all common tree-traversal methods (pre-order, post-order, and breadth first). RubyTree mixes in the Enumerable and Comparable modules and behaves like a standard Ruby collection (iteration, comparison, etc.). RubyTree also includes a binary tree implementation, which provides in-order node traversal besides the other methods. RubyTree can import from and export to JSON, and supports Ruby’s object marshaling.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 2.0.3 - December 27, 2023 (52.5 KB)
  2. 2.0.2 - June 30, 2023 (52.5 KB)
  3. 2.0.1 - June 19, 2023 (444 KB)
  4. 2.0.0 - June 21, 2022 (52.5 KB)
  5. 1.0.2 - December 29, 2021 (62 KB)
Show all versions (41 total)

Runtime Dependencies (1):

json ~> 2.0, > 2.3.1

Development Dependencies (12):

bundler ~> 2.3
rake ~> 13.0
rdoc ~> 6.0
rspec ~> 3.0, > 3.10
rtagstask ~> 0.0.4
rubocop ~> 1.0
rubocop-rake ~> 0.0
rubocop-rspec ~> 2.0
simplecov ~> 0.21
test-unit ~> 3.0
yard ~> 0.0, >= 0.9.20

Owners:

Pushed by:

Authors:

  • Anupam Sengupta

SHA 256 checksum:

8ad97453fd6ba828ef0bbb05597fb333ea4ca9cafca206d9a7e44d6fac60f686

Total downloads 3,141,381

For this version 41,948

License:

BSD-2-Clause

Required Ruby Version: >= 2.6

New versions require MFA: true

Version published with MFA: true

Links: