Method: Mongoid::Interceptable#pending_callbacks

Defined in:
lib/mongoid/interceptable.rb

#pending_callbacksArray<Symbol>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns the stored callbacks to be executed later.

Returns:

  • (Array<Symbol>)

    Method symbols of the stored pending callbacks.



262
263
264
# File 'lib/mongoid/interceptable.rb', line 262

def pending_callbacks
  @pending_callbacks ||= [].to_set
end