Method: Time#next_month
- Defined in:
- activesupport/lib/active_support/core_ext/time/calculations.rb
#next_month(months = 1) ⇒ Object
Returns a new time the specified number of months in the future.
361 362 363 |
# File 'activesupport/lib/active_support/core_ext/time/calculations.rb', line 361 def next_month(months = 1) advance(months: months) end |