Module: Periods::Modules::Year

Included in:
Year
Defined in:
lib/periods/modules/year.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/periods/modules/year.rb', line 8

def self.included(base)
  base.class_eval do
    include Periods::Modules::YearlyPeriod
    include InstanceMethods
    extend ClassMethods
  end
end