RubyGems Navigation menu

rubytree 0.9.7

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.1.0 August 12, 2024 (53.0 KB)
  2. 2.0.3 December 27, 2023 (52.5 KB)
  3. 2.0.2 June 30, 2023 (52.5 KB)
  4. 2.0.1 June 19, 2023 (444.0 KB)
  5. 2.0.0 June 21, 2022 (52.5 KB)
  6. 0.9.7 January 01, 2016 (109.0 KB)
顯示所有版本(共 42)

Runtime 相依性套件 (2):

json ~> 1.8

Development 相依性套件 (5):

bundler ~> 1.7
rdoc ~> 4.2
rspec ~> 3.4
rtagstask ~> 0.0
yard ~> 0.8

擁有者:

作者:

  • Anupam Sengupta

SHA 256 總和檢查碼:

=

總下載次數 3,320,508

這個版本 610,352

版本发布:

授權:

BSD

Ruby 版本需求: >= 1.8.7

新版本需要 MFA: true

相關連結: