Multitype
Allows for variable methods and attributes on models and classes to help differentiate different types of calculations for similar data structures seamlessly.
Installation
Add this line to your application's Gemfile:
gem 'multitype'
And then execute:
$ bundle
Or install it yourself as:
$ gem install multitype
Usage
Please refer to the specs and the "FakeModel" for basic usage.
Contributing
- 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