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