Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 899 Bytes

README.md

File metadata and controls

39 lines (23 loc) · 899 Bytes

rm-moment

Gem to wrap NSMoment Cocoapod to help with date/time chores.

Installation

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

Usage

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.

Contributing

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