Module: ActionTracer::MonkeyPatches::ActiveSupport::Callbacks::CallTemplate::ProcCall

Defined in:
lib/action_tracer/monkey_patches/active_support/callbacks.rb

Instance Method Summary collapse

Instance Method Details

#expandObject



24
25
26
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 24

def expand(*)
  super.tap { ActionTracer.applied_filters << @override_target }
end

#inverted_lambdaObject



32
33
34
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 32

def inverted_lambda
  super >> proc { |result| ActionTracer.applied_filters << @override_target; result }
end

#make_lambdaObject



28
29
30
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 28

def make_lambda
  super >> proc { |result| ActionTracer.applied_filters << @override_target; result }
end