Module: BootyCall::Hook

Defined in:
lib/booty_call/hook.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/booty_call/hook.rb', line 7

def self.included(klass)
  klass.class_eval do
    extend(ClassMethods)
    @callbacker = BootyCall::Callbacker.new(self)
    @introspector = BootyCall::Introspector.new(self)
    @meta_introspector = BootyCall::Introspector.new(self, :meta => true)
  end
end