method

years

v4.0.2 - Show latest stable - Class: Integer
years()
public

No documentation available.

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