Module: ActivePeriod::HasMany::Quarters

Includes:
ActivePeriod::HasMany
Included in:
FreePeriod, Year
Defined in:
lib/active_period/has_many/quarters.rb

Overview

Note:

when include this module provide itterable access to the quarters of

the FreePeriod

Author:

  • Lucas Billaudot <billau_l@modulotech.fr>

Instance Method Summary collapse

Instance Method Details

#quartersObject



9
10
11
# File 'lib/active_period/has_many/quarters.rb', line 9

def quarters
  @quarters ||= ActivePeriod::Collection.new(ActivePeriod::Quarter, self)
end