method

years

v3.2.13 - Show latest stable - Class: Integer
years()
public

No documentation available.

# File activesupport/lib/active_support/core_ext/integer/time.rb, line 35
  def years
    ActiveSupport::Duration.new(self * 365.25.days, [[:years, self]])
  end