UtcRpnCalc
A simple Reverse Polish Notation (RPN) hexadecimal calculator. It was written as a demonstration of the UTC IEEE CS coding challenge specifications for February 2014.
Installation
Add this line to your application's Gemfile:
gem 'utc_rpn_calc'
And then execute:
$ bundle
Or install it yourself as:
$ gem install utc_rpn_calc
Usage
Pass a string of digits and operators separated with spaces as command line arguments, e.g.
$ utc_rpn_calc 1 2 +
0003
Contributing
- Fork it ( http://github.com/colinrymer/utc_rpn_calc/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request