RubyGems Navigation menu

rubytree 1.0.2

RubyTree is a pure Ruby implementation of the generic tree data structure. It provides a node-based model to store named nodes in the tree, and provides simple APIs to access, modify and traverse the structure. The implementation is node-centric, where individual nodes in the tree are the primary structural elements. All common tree-traversal methods (pre-order, post-order, and breadth-first) are supported. The library mixes in the Enumerable and Comparable modules to allow access to the tree as a standard collection (iteration, comparison, etc.). A Binary tree is also provided, which provides the in-order traversal in addition to the other methods. RubyTree supports importing from, and exporting to JSON, and also supports the Ruby's standard object marshaling. This is a BSD licensed open source project, and is hosted at http://github.com/evolve75/RubyTree, and is available as a standard gem from http://rubygems.org/gems/rubytree. The home page for RubyTree is at http://rubytree.anupamsg.me.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  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.0 KB)
  4. 2.0.0 - June 21, 2022 (52.5 KB)
  5. 1.0.2 - December 29, 2021 (62.0 KB)
显示所有版本 (共 41 个)

Runtime 依赖 (2):

json ~> 2.6.1

Development 依赖 (9):

bundler ~> 2.3.4
coveralls >= 0.8.23
rake >= 13.0.6
rdoc >= 6.4.0
rspec ~> 3.10.0
rtagstask ~> 0.0.4
rubocop >= 1.24.0
test-unit >= 3.5.3
yard ~> 0.9.27

业主:

推送:

作者:

  • Anupam Sengupta

SHA 256 校验和:

4e24f1f7938a17f9f67a4cb72a1c161d1f76025550184285f366e17fc3a02ba1

下载总量 3,106,960

这个版本 196,513

许可:

BSD-3-Clause-Clear

需要的 Ruby 版本: >= 2.7

新的版本需要开启多因素验证: true

链接: