method

normalize_callback_params

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Callbacks::ClassMethods
normalize_callback_params(filters, block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/callbacks.rb, line 594
      def normalize_callback_params(filters, block) # :nodoc:
        type = CALLBACK_FILTER_TYPES.include?(filters.first) ? filters.shift : :before
        options = filters.extract_options!
        filters.unshift(block) if block
        [type, filters, options.dup]
      end
Register or log in to add new notes.