Add this line to your application's Gemfile:
gem 'equal_card'
And then execute:
$ bundle
Or install it yourself as:
$ gem install equal_card
$ equal_card answer '45643*-2'
カードは 45643*-2
4=34-5*6
4=34-6*5
54*6=324
5*6=34-4
6*54=324
6*5=34-4
34-5*6=4
34-6*5=4
34-4=5*6
34-4=6*5
324=54*6
324=6*54
- Fork it ( https://github.com/kei-s/equal_card/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