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 chronic_duration -v 0.10.3
Authors

hpoydar

143,497 total downloads 298 for this version
Owners

7aef4541a1355c993c66237b162d9681

Gemfile
gem 'chronic_duration', '~> 0.10.3'
Versions
  1. 0.10.5 July 15, 2014 (11 KB)
  2. 0.10.4 February 24, 2014 (11 KB)
  3. 0.10.3 February 24, 2014 (11 KB)
  4. 0.10.2 February 24, 2013 (10.5 KB)
  5. 0.10.1 February 23, 2013 (10.5 KB)
Show all versions (16 total)
Runtime Dependencies
  1. numerizer ~> 0.1.1
Development Dependencies
  1. rake ~> 10.0.3
  2. rspec ~> 2.12.0