77#
88# frozen_string_literal: true
99
10- require '. /lib/tree/version'
10+ require File . join ( __dir__ , ' /lib/tree/version')
1111
1212Gem ::Specification . new do |s |
1313 s . name = 'rubytree'
@@ -24,29 +24,23 @@ Gem::Specification.new do |s|
2424 s . summary = 'A generic tree data structure for Ruby.'
2525
2626 s . description = <<-END_DESC
27- RubyTree is a pure Ruby implementation of the generic tree data
28- structure. It provides a node-based model to store named nodes in the tree,
29- and provides simple APIs to access, modify and traverse the structure.
3027
31- The implementation is node-centric, where individual nodes in the tree are
32- the primary structural elements. All common tree-traversal methods
33- (pre-order, post-order, and breadth-first) are supported .
28+ RubyTree is a Ruby implementation of the generic tree data structure. It
29+ provides simple APIs to store named nodes, and to access, modify, and
30+ traverse the tree .
3431
35- The library mixes in the Enumerable and Comparable modules to allow access
36- to the tree as a standard collection (iteration, comparison, etc.).
32+ The data model is node-centric, where nodes in the tree are the primary
33+ structural elements. It supports all common tree-traversal methods (pre-order,
34+ post-order, and breadth first).
3735
38- A Binary tree is also provided, which provides the in-order traversal in
39- addition to the other methods .
36+ RubyTree mixes in the Enumerable and Comparable modules and behaves like a
37+ standard Ruby collection (iteration, comparison, etc.) .
4038
41- RubyTree supports importing from, and exporting to JSON, and also supports
42- the Ruby's standard object marshaling.
43-
44- This is a BSD licensed open source project, and is hosted at
45- <https://github.com/evolve75/RubyTree>, and is available as a standard gem
46- from <https://rubygems.org/gems/rubytree>.
47-
48- The home page for RubyTree is at <http://rubytree.anupamsg.me>.
39+ RubyTree also includes a binary tree implementation, which provides in-order
40+ node traversal besides the other methods.
4941
42+ RubyTree can import from and export to JSON, and supports Ruby’s object
43+ marshaling.
5044 END_DESC
5145
5246 s . metadata = {
0 commit comments