method
__create_keyed_callback
v3.0.0 -
Show latest stable
- Class:
ActiveSupport::Callbacks::ClassMethods
__create_keyed_callback(name, kind, object, &blk)public
This is called the first time a callback is called with a particular key. It creates a new callback method for the key, calculating which callbacks can be omitted because of per_key conditions.