class Integer

Public Instance Methods

month()
Alias for: months
months() click to toggle source
# File lib/timeloop/core_ext/integer/time.rb, line 3
def months
  30 * self.days
end
Also aliased as: month
year()
Alias for: years
years() click to toggle source
# File lib/timeloop/core_ext/integer/time.rb, line 8
def years
  365.25 * self.days
end
Also aliased as: year