Module: Linecook::Test::ModuleMethods

Included in:
Linecook::Test
Defined in:
lib/linecook/test.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



23
24
25
26
27
# File 'lib/linecook/test.rb', line 23

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