module Period::BelongsTo::Year

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

Public Instance Methods

year() click to toggle source
# File lib/period/belongs_to/year.rb, line 7
def year
  Period::Year.new(iso_date)
end