Skip to content

JGantner/ancestree

Repository files navigation

Ancestree

This gem provides a class to model a family tree and query some information about it.

The Idea came from from an event in our company called Language Shootout. In a Language Shootout every developper can present his favorite programming language and can show how it is used to solve a predefined task and explain why he/she thinks the language is the 'best'.

It's intended to show the pure language without the use of libraries as well as showing the typical style of the language.

The task description can be found in the task-description.txt file (in german) and sample test data can be found in the people.data file.

A diffferent solution for the same Task can be found here: https://github.com/vschep/family-tree

Installation

Add this line to your application's Gemfile:

gem 'ancestree'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ancestree

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Simple rubygem to model and query a family tree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages