Module: ActivePeriod::BelongsTo::Year
Overview
Note:
when include this module provide access to the year of the
FreePeriod
Instance Method Summary collapse
Instance Method Details
#year ⇒ Object
7 8 9 |
# File 'lib/active_period/belongs_to/year.rb', line 7 def year ActivePeriod::Year.new(self.begin) end |