class RuboCop::Cop::Commissioner
def restrict_callbacks(callbacks)
def restrict_callbacks(callbacks) restricted = {} RESTRICTED_CALLBACKS.each do |callback| restricted[callback] = restricted_map(callbacks[callback]) end restricted end
def restrict_callbacks(callbacks) restricted = {} RESTRICTED_CALLBACKS.each do |callback| restricted[callback] = restricted_map(callbacks[callback]) end restricted end