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