[ANN] useful_duration 0.0.1

From: Stephen S.
Sent on: Friday, May 24, 2013 4:50 PM
Finally - a useful way of measuring time in your applications.

Install
Install and require the gem manually or through bundler.

Usage

10.in_a_gadda_da_vidas.ago 
  =>[masked]:25:56 -0400

2.bravehearts.from_now 
  =>[masked]:10:45 -0400

"I regret I have but #{86400.to_f/1.doctor_zhivago} in a day" 
  => "I regret I have but[masked] in a day" 


Coming Soon
A DSL nice DSL to define custom durrations.

Dependencies:

This requires ActiveSupport to play nicely with ActiveSupport duration. 
It was written against[masked] and hasn't been regression tested against other versions.


Happy Friday,
Schtephen Schor

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy