method

set_callbacks

set_callbacks(name, callbacks)
protected

No documentation available.

# File activesupport/lib/active_support/callbacks.rb, line 952
          def set_callbacks(name, callbacks) # :nodoc:
            unless singleton_class.method_defined?(:__callbacks, false)
              self.__callbacks = __callbacks.dup
            end
            self.__callbacks[name.to_sym] = callbacks
            self.__callbacks
          end