Module: ActivePeriod::BelongsTo::Month

Included in:
Day, Week
Defined in:
lib/active_period/belongs_to/month.rb

Overview

Note:

when include this module provide access to the month of the

FreePeriod

Author:

  • Lucas Billaudot <billau_l@modulotech.fr>

Instance Method Summary collapse

Instance Method Details

#monthObject



7
8
9
# File 'lib/active_period/belongs_to/month.rb', line 7

def month
  ActivePeriod::Month.new(self.begin)
end