module ActionTracer::MonkeyPatches::ActiveSupport::Callbacks::CallTemplate
Public Instance Methods
expand(*)
click to toggle source
Calls superclass method
# File lib/action_tracer/monkey_patches/active_support/callbacks.rb, line 8 def expand(*) target, block, method, *arguments = super if target.is_a? ActionController::Base case method when :instance_exec # filter is a proc ActionTracer.applied_filters << block when String # filter is an object ActionTracer.applied_filters << block when Symbol # filter is a method ActionTracer.applied_filters << method end end [target, block, method, *arguments] end