Class Numeric
In: lib/datename.rb
Parent: Object

Modify the Numeric class for providing a series of methods that allow date units to be converted to seconds easily, like "2.weeks".

Methods

External Aliases

years -> year
weeks -> week
days -> day
hours -> hour
minutes -> minute
seconds -> second

Public Class methods

[Validate]