Flowdock
method

register_hook

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: ExecutionWrapper
register_hook(hook, outer: false) public

Register an object to be invoked during both the run and complete steps.

hook.complete will be passed the value returned from hook.run, and will only be invoked if run has previously been called. (Mostly, this means it won’t be invoked if an exception occurs in a preceding to_run block; all ordinary to_complete blocks are invoked in that situation.)

Show source
Register or log in to add new notes.