Skip to content

Ruby wrappers for NSMoment Cocoapod (iOS and OSX only) : Inspired by MomentJS, handles date/time chores.

Notifications You must be signed in to change notification settings

sxross/rm-moment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Ruby wrappers for NSMoment Cocoapod (iOS and OSX only) : Inspired by MomentJS, handles date/time chores.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages