Class Hookable::State
In: Hookable.rb
Parent: Object

Stores state information for a running hook chain. Hookable::State is passed to all hooks; it is needed to run nested hooks (and, of course, the original method).

Methods

call  

Attributes

method  [R]  The name of the hooked method.
object  [R]  The object the hooked method is bound to.

Public Instance methods

Calls the next hook for this state. You call this method within your hooks where you’d like the original method to run.

Give this method all arguments the original method would expect.

[Validate]