RubyGems Navigation menu

rubytree 2.1.1

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:
=

instalar:
=

Versiones:

  1. 2.1.1 December 20, 2024 (53 KB)
  2. 2.1.0 August 12, 2024 (53 KB)
  3. 2.0.3 December 27, 2023 (52,5 KB)
  4. 2.0.2 June 30, 2023 (52,5 KB)
  5. 2.0.1 June 19, 2023 (444 KB)
Mostrar todas las versiones (43 total)

dependencias de Runtime (1):

json ~> 2.0, > 2.9

dependencias de Development (12):

bundler ~> 2.3
rake ~> 13.2
rdoc ~> 6.10
rspec ~> 3.0, >= 3.13
rtagstask ~> 0.0.4
rubocop ~> 1.69
rubocop-rake ~> 0.6
rubocop-rspec ~> 3.3
simplecov ~> 0.22
test-unit ~> 3.6
yard ~> 0.0, >= 0.9.37

Propietarios:

Subida por:

Autores:

  • Anupam Sengupta

SHA 256 checksum:

=

Total de descargas 3.359.024

Para esta versión 369

Versión publicada:

Licencia:

BSD-2-Clause

Versión de Ruby requerida: >= 2.7

Nuevas versiones requieren AMF: true

Versión publicada con AMF: true

Enlace: