module PrioritizedCallbacks::ActiveSupport::CallbackPatch
Attributes
priority[RW]
Public Class Methods
new(name, filter, kind, options, chain_config)
click to toggle source
Calls superclass method
# File lib/prioritized_callbacks/active_support/callback_patch.rb, line 10 def initialize(name, filter, kind, options, chain_config) super @priority = options[:priority] || :default end
prepended(base)
click to toggle source
# File lib/prioritized_callbacks/active_support/callback_patch.rb, line 4 def self.prepended(base) base.singleton_class.prepend ClassMethods end