RubyGems Navigation menu

rubytree 2.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 , and is available as a standard gem from . The home page for RubyTree is at .

Versões:

  1. 2.0.0 - June 21, 2022 (52,5 KB)
  2. 1.0.2 - December 29, 2021 (62 KB)
  3. 1.0.0 - December 21, 2017 (50 KB)
  4. 0.9.7 - January 01, 2016 (109 KB)
  5. 0.9.6 - May 30, 2015 (108 KB)
Mostrar todas as versões (38)

Runtime Dependencies (1):

  • json ~> 2.0, > 2.3.1
  • Development Dependencies (10):

  • bundler ~> 2.3
  • rake ~> 13.0
  • rdoc ~> 6.0
  • rspec ~> 3.0, > 3.10
  • rtagstask ~> 0.0.4
  • rubocop ~> 1.0
  • rubocop-rake ~> 0.0
  • rubocop-rspec ~> 2.0
  • test-unit ~> 3.0
  • yard ~> 0.0, >= 0.9.20
  • Donos:

    Pushed by:

    Autores:

    • Anupam Sengupta

    SHA 256 checksum:

    af6ad5c5817409c78a48bf9be1065624858c53833275984dae5a615a09fa0b52

    Total de downloads 2.356.063

    Desta versão 7.222

    Gemfile:
    = Copy to clipboard Copied!

    instalar:
    =

    Licença:

    BSD-3-Clause-Clear

    Versão Requerida do Ruby: >= 2.6

    New versions require MFA: true

    Version published with MFA: true

    Links: