MonthYear
A MonthYear represents a specific month in a specific year. It implements comparison operations, can be used to create ranges, (de-)serializes to/from Integer and can be used for attributes of ActiveRecord Models.
Inspired by a [blog post](blog post) by Robert Pankowecki. Thanks!
Installation
Add this line to your application's Gemfile:
gem 'month_year'
And then execute:
$ bundle
Or install it yourself as:
$ gem install month_year
Usage
TODO: Write usage instructions here
Contributing
- Fork it ( https://github.com/daniel-illi/month_year/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