Allows for variable methods and attributes on models and classes to help differentiate different types of calculations for similar data structures seamlessly.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
Gemfile
LICENSE.txt
README.md
Rakefile
multitype.gemspec

README.md

Multitype

CircleCI Build Status

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