Method: Time#next_day
- Defined in:
- lib/active_support/core_ext/time/calculations.rb
#next_day(days = 1) ⇒ Object
Returns a new time the specified number of days in the future.
356 357 358 |
# File 'lib/active_support/core_ext/time/calculations.rb', line 356 def next_day(days = 1) advance(days: days) end |