Module: ActivePeriod::HasMany::Years
- Includes:
- ActivePeriod::HasMany
- Included in:
- FreePeriod
- Defined in:
- lib/active_period/has_many/years.rb
Overview
Note:
when include this module provide itterable access to the years of
the FreePeriod
Instance Method Summary collapse
Instance Method Details
#years ⇒ Object
9 10 11 |
# File 'lib/active_period/has_many/years.rb', line 9 def years @years ||= ActivePeriod::Collection.new(ActivePeriod::Year, self) end |