Module: ActivePeriod::HasMany::Days

Includes:
ActivePeriod::HasMany
Included in:
FreePeriod, Month, Quarter, Week, Year
Defined in:
lib/active_period/has_many/days.rb

Overview

Note:

when include this module provide access to the days of the

FreePeriod

Author:

  • Lucas Billaudot <billau_l@modulotech.fr>

Instance Method Summary collapse

Instance Method Details

#daysObject



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

def days
  @days ||= ActivePeriod::Collection.new(ActivePeriod::Day, self)
end