Instruction to operate:
- Give
gem build
and then followed bygem install familytree-0.1.0.gem
(if not available) extract the files into your system and givebundle exec rake install:local
- start adding the commands via command line tool as given in the assessment. eg:
familytree add person Mike
- There will be a file generated to store the data in your local system, kindly ignore it.
- Only few whitelisted commands can be given for now. The whitelisted commands are the one in the assessment file.
- Complex queries like grandparents / grandchild can't be retrived, i.e not more than 1 level can be achieved
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/familytree.
The gem is available as open source under the terms of the MIT License.