Method: Kinda::Hookable#method_missing

Defined in:
lib/hookable.rb

#method_missing(method_name, *args, &block) ⇒ Object (private)



117
118
119
120
121
122
123
# File 'lib/hookable.rb', line 117

def method_missing(method_name, *args, &block)
  if method_hooked?(method_name)
    singleton_class_send(:exec_method, method_name, nil, self, *args, &block)
  else
    super
  end
end