Module: Tap::Signals::ModuleMethods

Included in:
Tap::Signals
Defined in:
lib/tap/signals/module_methods.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Extends including classes with Configurable::ClassMethods



9
10
11
12
13
14
15
16
# File 'lib/tap/signals/module_methods.rb', line 9

def included(base)
  super
  base.extend ClassMethods
  base.extend ModuleMethods unless base.kind_of?(Class)

  # initialize any class variables
  ClassMethods.initialize(base)
end