BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

rubytree

v2.2.0RubyGems· Ruby

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.

The verdict
Worth a look. Actively maintained and growing, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityRising
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 4 months ago.
Popularity
26K downloads / week
Security
No known advisories for this version (OSV).
License
BSD-2-Clause
Dependencies
No runtime dependencies
Recent releases
  • 2.2.04 months ago
  • 2.1.1over a year ago
  • 2.1.0over a year ago
  • 2.0.32 years ago
  • 2.0.22 years ago
  • 2.0.12 years ago
  • 2.0.03 years ago
  • 1.0.24 years ago