billaul/period

View on GitHub
lib/period/belongs_to/month.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Period
  module BelongsTo
    # @author Lucas Billaudot <billau_l@modulotech.fr>
    # @note when include this module provide access to the month of the
    # FreePeriod
    module Month
      def month
        Period::Month.new(iso_date)
      end
    end
  end
end