Module Hookable::ClassMethods
In: Hookable.rb

Methods

Public Instance methods

Adds hook to the hookable method denoted by symbol. hook has to be a Proc object.

Deactivates the given hook for symbol.

Activates the given hook for symbol.

Tests if the given hook is present in the symbol chain.

Tests if the given hook for symbol is currently active.

Tests if symbol is a hookable method of the class.

Removes the given hook from the hookable method symbol.

Replaces the given hook in the symbol chain with another.

Private Instance methods

Makes all given instance methods hookable. Note that the methods will be unbound in the process.

[Validate]