CalcDongqs
Simple calculator
Installation
Add this line to your application's Gemfile:
gem 'calc_dongqs'
And then execute:
$ bundle
Or install it yourself as:
$ gem install calc_dongqs
Usage
require 'calc_dongqs'
Expression.new('1 + 2').result
Contributing
- Fork it ( https://github.com/dongqs/calc_dongqs/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 a new Pull Request