Module: TimeConversion
Overview
The TimeConversions module adds methods to number varibles to translate Between different types of time (seconds, days, ect)
Instance Method Summary collapse
-
#days_in_seconds ⇒ Object
Converts self from days into seconds.
Instance Method Details
#days_in_seconds ⇒ Object
Converts self from days into seconds
7 8 9 |
# File 'lib/voterable/functions.rb', line 7 def days_in_seconds self*86400 end |