method

prev_year

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Time
prev_year(years = 1) public

Returns a new time the specified number of years ago.

Show source
Register or log in to add new notes.