Gem to wrap NSMoment Cocoapod to help with date/time chores.
Add this line to your application's Gemfile:
gem 'rm-moment'
-or-
gem 'rm-moment', :git => [email protected]:sxross/rm-moment.git
(at present, GitHub is the only install method)
And then execute:
$ bundle
The only object in this gem is Moment
. This does everything it can
with dates and times including parsing, formatting, and comparing.
Important!!! This is version 0.0.1. This is preview stuff. Not all of the wrapper is present.
To get an idea what's there, create rdocs from the gem and you can see the usage or read the specs.
- Fork it
- 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 new Pull Request