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

  1. Fork it
  2. Create your feature branch (git checkout -b feature/my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin feature/my-new-feature)
  5. Create new Pull Request