RubyTree icon indicating copy to clipboard operation
RubyTree copied to clipboard

A General Purpose Tree Data Structure for Ruby

Results 8 RubyTree issues
Sort by recently updated
recently updated
newest added

The default is for `print_tree` to send output to stdout, I would like the option to send it somewhere else by passing in and IO object to it. Currently, I'm...

Feature

Cycle detection should be fairly easy to add using Ruby's built-in [TSort](http://ruby-doc.org/stdlib-1.9.3/libdoc/tsort/rdoc/TSort.html) module. It will reduce performance unless done carefully, but I managed to monkey patch a version of RubyTree...

Bug
Feature

Title says it all, JSON.parse is returning the default hash instead of tree json file ``` { "name": "ROOT", "content": null, "json_class": "Tree::TreeNode", "children": [ { "name": "NON-ROOT", "content": null,...

Bug

Hi, I've been using the library a bit more and have come across a new bottleneck. A significant amount of time is being spent in error checking / assertions. While...

Feature

The method `#` does not behave in the way the doc says. The doc of `#` says > Comparison is based on the natural ordering of the node name objects....

Updated to check subtypes to be compatible with the Ruby on Rails class `ActiveSupport::HashWithIndifferentAccess`, which is a sub-class of `Hash`

There are inconsistencies with how Ruby on Rails and how this gem interpret what is and what isn't a valid `Hash` which trigger the argument error in the [hash_converter.rb](https://github.com/evolve75/RubyTree/blob/0c052cd0abb328c0162110817b2ef36be765c3ac/lib/tree/utils/hash_converter.rb#L109) ```...

Bumps [rexml](https://github.com/ruby/rexml) from 3.3.5 to 3.3.6. Release notes Sourced from rexml's releases. REXML 3.3.6 - 2024-08-22 Improvements Removed duplicated entity expansions for performance. GH-194 Patch by Viktor Ivarsson. Improved namespace...

dependencies