method
next_month
v2.2.1 -
Show latest stable
- Class:
ActiveSupport::CoreExtensions::Date::Calculations
next_month()public
Short-hand for months_since(1)
1Note
Reverse naming
The reverse of this is +last_month+ and not +previous_month+, like one might believe from the naming.