module ActivePeriod::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/active_period/has_many/years.rb, line 9
def years
  @years ||= ActivePeriod::Collection.new(ActivePeriod::Year, self)
end