RubyGems Navigation menu

brianjlandau-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.

Gemfile
          gem 'brianjlandau-chronic_duration', '~> 0.9.2'
  
  
  
  
  
  
  

install
          gem install brianjlandau-chronic_duration -v 0.9.2
  
  
  
  
  
  
  

Total downloads 9,414

For this version 1,842

Required Ruby Version: None

Links:

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: