Module: EasyHook
- Defined in:
- lib/easy-hook.rb
Overview
Contains methods to hook method calls
Defined Under Namespace
Modules: ClassMethods, HookTimer
Class Method Summary collapse
-
.included(base) ⇒ Object
On inclusion, we extend the receiver by the defined class-methods.
Class Method Details
.included(base) ⇒ Object
On inclusion, we extend the receiver by the defined class-methods. This is an ruby idiom for defining class methods within a module.
115 116 117 |
# File 'lib/easy-hook.rb', line 115 def EasyHook.included(base) base.extend(ClassMethods) end |