Flowdock
method

make_lambda

Importance_1
v4.2.9 - Show latest stable - 0 notes - Class: ActiveSupport::Callbacks::Callback
make_lambda(filter) private

Filters support:

Symbols:: A method to call.
Strings:: Some content to evaluate.
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 lambda and handled the same after this point.

Show source
Register or log in to add new notes.