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
Authors

hpoydar

161,259 total downloads 5,010 for this version
Owners

7aef4541a1355c993c66237b162d9681

Licenses

MIT

Gemfile
gem 'chronic_duration', '~> 0.10.6'
Versions
  1. 0.10.6 September 8, 2014 (11 KB)
  2. 0.10.5 July 15, 2014 (11 KB)
  3. 0.10.4 February 24, 2014 (11 KB)
  4. 0.10.3 February 24, 2014 (11 KB)
  5. 0.10.2 February 24, 2013 (10.5 KB)
Show all versions (17 total)
Runtime Dependencies
  1. numerizer ~> 0.1.1
Ruby Dependency
  1. >= 0
Development Dependencies
  1. rake ~> 10.0.3
  2. rspec ~> 2.12.0