module Period::HasMany::Months

@author Lucas Billaudot <billau_l@modulotech.fr> @note when include this module provide itterable access to the months of the FreePeriod

Public Instance Methods

months() click to toggle source
# File lib/period/has_many/months.rb, line 9
def months
  @months ||= itterate(to, Period::Month)
end