class Integer
Public Instance Methods
ago()
click to toggle source
# File lib/verku/stats.rb, line 5 def ago Time.now - self end
day()
click to toggle source
# File lib/verku/stats.rb, line 2 def day self * (60 * 60 * 24) # seconds * hours * minutes end