Method: Monthify::Month#next

Defined in:
lib/monthify/month.rb

#nextMonth Also known as: succ

Returns the month following this one.

Returns:

  • (Month)

    the month following this one



81
82
83
# File 'lib/monthify/month.rb', line 81

def next
  self + 1.month
end