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



3
4
5
6
7
8
9
10
# File 'lib/booty_call/hook.rb', line 3

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