RubyGems Navigation menu

chronic_duration 0.9.2

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.

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)

Development Dependencies:

Authors:

  • hpoydar

Owners:

7aef4541a1355c993c66237b162d9681

Total downloads 179,033

For this version 5,785

Show all versions (17 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'chronic_duration', '~> 0.9.2' = Copy to clipboard Copied!

install:
gem install chronic_duration -v 0.9.2 = Copy to clipboard Copied!

Links: