addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

[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 and require the gem manually or through bundler.


  =>[masked]:25:56 -0400

  =>[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.


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

Our Sponsors

  • Pivotal Labs

    Provides the awesome event space we use every month!

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