Method: DateAndTime::Calculations#weeks_since

Defined in:
activesupport/lib/active_support/core_ext/date_and_time/calculations.rb

#weeks_since(weeks) ⇒ Object

Returns a new date/time the specified number of weeks in the future.



92
93
94
# File 'activesupport/lib/active_support/core_ext/date_and_time/calculations.rb', line 92

def weeks_since(weeks)
  advance(weeks: weeks)
end