method
years
rails latest stable - Class:
ActiveSupport::CoreExtensions::Integer::Time
years()public
No documentation available.
# File activesupport/lib/active_support/core_ext/integer/time.rb, line 38
def years
ActiveSupport::Duration.new(self * 365.25.days, [[:years, self]])
end