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
Authors

hpoydar, brianjlandau

9,242 total downloads 2,005 for this version
Owners

9a64f190613b1893b7203ef362932d33

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