lib/period/has_many/months.rb
module Period
module HasMany
# @author Lucas Billaudot <billau_l@modulotech.fr>
# @note when include this module provide itterable access to the months of
# the FreePeriod
module Months
include Period::HasMany
def months
@months ||= itterate(to, Period::Month)
end
end
end
end