RubyGems.org

A simple Ruby natural language parser for elapsed time. (For example, 4 hours and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in seconds. Will return an integer unless you get tricky and need a float. (4 minutes and 13.47 seconds, for example.) The reverse can also be performed via the output method.

installgem install brianjlandau-chronic_duration -v 0.9.1
Authors

hpoydar, brianjlandau

6,063 total downloads 1,186 for this version
Owners

9a64f190613b1893b7203ef362932d33

Gemfile
gem "brianjlandau-chronic_duration", "~> 0.9.1"
Versions
  1. 0.9.3 August 17, 2010
  2. 0.9.2 March 9, 2010
  3. 0.9.1 March 8, 2010
  4. 0.8.3 January 23, 2010
  5. 0.8.2 January 22, 2010
Development Dependencies
  1. rspec >= 0