class Integer
Public Instance Methods
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
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