ajsharp / time_extensions

A module of helpul methods that are mixed into Ruby's Time class.

This URL has Read+Write access

name age message
file MIT-LICENSE Loading commit data...
file README
file Rakefile
file init.rb
file install.rb
directory lib/
directory tasks/
directory test/
file uninstall.rb
README
TimeExtensions
==============

A collection of useful methods that are mixed into Ruby's Time class.


Example
=======

p = Product.create(:name => "Awesome Product")
p.created_at # => returns a Time object
p.created_at.long_month # => returns a string version of the month (i.e. "August")


Copyright (c) 2008 Alex Sharp, released under the MIT license