method
make_lambda
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
v4.1.8 -
Show latest stable
-
0 notes -
Class: ActiveSupport::Callbacks::Callback
- 1.0.0
- 1.1.6
- 1.2.6
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.8
- 3.0.0
- 3.0.9
- 3.1.0
- 3.2.1
- 3.2.8
- 3.2.13
- 4.0.2
- 4.1.8 (0)
- 4.2.1 (-28)
- 4.2.7 (0)
- 4.2.9 (0)
- 5.0.0.1 (0)
- 5.1.7
- 5.2.3
- 6.0.0
- 6.1.3.1
- 6.1.7.7
- 7.0.0
- 7.1.3.2
- 7.1.3.4
- What's this?
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 compiled into methods and handled the same after this point:
Symbols:: Already methods. Strings:: class_eval'd into methods. Procs:: using define_method compiled into methods. Objects:: a method is created that calls the before_foo method on the object.