method

build

rails latest stable - Class: ActiveSupport::Callbacks::Callback::CallTemplate
build(filter, callback)
public

Filters support:

Symbols:: A method to call.
Procs::   A proc to call with the object.
Objects:: An object with a <tt>before_foo</tt> method on it to call.

All of these objects are converted into a CallTemplate and handled the same after this point.