method
_compile_filter
v3.0.7 -
Show latest stable
-
0 notes -
Class: ActiveSupport::Callbacks::Callback
- 1.0.0
- 1.1.0
- 1.1.1
- 1.1.6
- 1.2.0
- 1.2.6
- 2.0.0
- 2.0.1
- 2.0.3
- 2.1.0
- 2.2.1
- 2.3.2
- 2.3.8
- 3.0.0 (0)
- 3.0.5 (0)
- 3.0.7 (0)
- 3.0.9 (-38)
- 3.1.0 (0)
- 3.2.1 (0)
- 3.2.3 (0)
- 3.2.8 (0)
- 3.2.13 (0)
- What's this?
_compile_filter(filter)
private
Filters support:
Arrays:: Used in conditions. This is used to specify multiple conditions. Used internally to merge conditions from skip_* filters Symbols:: A method to call Strings:: Some content to evaluate Procs:: A proc to call with the object Objects:: An object with a before_foo method on it to call
All of these objects are compiled into methods and handled the same after this point:
Arrays:: Merged together into a single filter Symbols:: Already methods Strings:: class_eval'ed into methods Procs:: define_method'ed into methods Objects:: a method is created that calls the before_foo method on the object.


