module ActivePeriod::BelongsTo::Month

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

Public Instance Methods

month() click to toggle source
# File lib/active_period/belongs_to/month.rb, line 7
def month
  ActivePeriod::Month.new(self.begin)
end