module Period::HasMany::Years
@author Lucas Billaudot <billau_l@modulotech.fr> @note when include this module provide itterable access to the years of the FreePeriod
Public Instance Methods
years()
click to toggle source
# File lib/period/has_many/years.rb, line 9 def years @years ||= itterate(to, Period::Month) end