module ActivePeriod::HasMany::Weeks

@author Lucas Billaudot <billau_l@modulotech.fr> @note when include this module provide itterable access to the weeks of the FreePeriod

Public Instance Methods

weeks() click to toggle source
# File lib/active_period/has_many/weeks.rb, line 9
def weeks
  @weeks ||= ActivePeriod::Collection.new(ActivePeriod::Week, self)
end