module Ardm::Hook
TODO: Write more documentation!
Overview
¶ ↑
The Hook
module is a very simple set of AOP helpers. Basically, it allows the developer to specify a method or block that should run before or after another method.
Usage
¶ ↑
Halting The Hook
Stack
Inheritance
Other Goodies
Please bring up any issues regarding Hooks with carllerche on IRC
Public Class Methods
method_added(name)
click to toggle source
Calls superclass method
# File lib/ardm/support/hook.rb, line 33 def method_added(name) process_method_added(name, :instance) super end
singleton_method_added(name)
click to toggle source
Calls superclass method
# File lib/ardm/support/hook.rb, line 38 def singleton_method_added(name) process_method_added(name, :class) super end