Module: Koyomi::Helper::Week

Included in:
Date, Calendar
Defined in:
lib/koyomi/helper/week.rb

Defined Under Namespace

Modules: ClassMethod

Constant Summary collapse

DEFAULT_WEEK_START =
Koyomi::Week::DEFAULT_START
WEEK_WDAYS =
Koyomi::Week::WDAYS
WEEK_DAYS =
Koyomi::Week::DAYS
WEEK_START_RANGE =
Koyomi::Week::START_RANGE

Class Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



12
13
14
15
16
# File 'lib/koyomi/helper/week.rb', line 12

def self.included(mod)
  mod.class_eval do
    extend Koyomi::Helper::Week::ClassMethod
  end
end