method

in_milliseconds

Importance_1
v6.0.0 - Show latest stable - 0 notes - Class: Numeric
in_milliseconds() public

Returns the number of milliseconds equivalent to the seconds provided. Used with the standard time durations.

2.in_milliseconds # => 2000
1.hour.in_milliseconds # => 3600000
Show source
Register or log in to add new notes.