method
years
years()
public
Hide source
# File activesupport/lib/active_support/core_ext/numeric/time.rb, line 68 def years ActiveSupport::Duration.new(self * 365.25.days, [[:years, self]]) end