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 arturop-chronic_duration
Authors

hpoydar, Arturo Pie

1,571 total downloads 1,571 for this version
Owners

A812dec16b0581384b02c590c8a29d97

Gemfile
gem 'arturop-chronic_duration', '~> 0.9.7'
Versions
  1. 0.9.7 July 6, 2011 (10 KB)
Runtime Dependencies
  1. numerizer ~> 0.1.1