RubyGems Navigation menu

rubytree 1.0.0

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.5KB)
  2. 2.0.2 - June 30, 2023 (52.5KB)
  3. 2.0.1 - June 19, 2023 (444KB)
  4. 2.0.0 - June 21, 2022 (52.5KB)
  5. 1.0.2 - December 29, 2021 (62KB)
  6. 1.0.0 - December 21, 2017 (50KB)
全てのバージョンを表示(全41件)

Runtime依存関係 (2):

json ~> 2.1

Development依存関係 (5):

bundler ~> 1.16
rdoc ~> 6.0
rspec ~> 3.7
rtagstask ~> 0.0
yard ~> 0.9

所有者:

作者:

  • Anupam Sengupta

SHA 256チェックサム:

edee227ae25d63fedc08cf454d0dbfd211768acf0ef4adc05c04c622a2a4161a

累計ダウンロード数 3,107,514

このバージョンのみ 1,074,852

ライセンス:

BSD

必要なRubyのバージョン: >= 2.2

新しいバージョンはMFAを必要とします: true

リンク: