/tree

Ruby implementation of a binary tree

Primary LanguageRuby

Tree

Simple Binary Search Tree

Requisites

Ruby

You can easily install it with any Ruby Version Manager for example RVM or rbenv:

Bundler

After installing Ruby you must be sure of having the 'bundler' gem installed. You can install it via rubygems:

$ gem install bundler

Running the test suite:

  1. Prepare the bundle:
$ bundle install
  1. Run the specs:
$ bundle exec rspec .