Allows for variable methods and attributes on models and classes to help differentiate different types of calculations for similar data structures seamlessly.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install multitype
Please refer to the specs and the "FakeModel" for basic usage.
- Fork it
- Create your feature branch (
git checkout -b feature/my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin feature/my-new-feature)
- Create new Pull Request