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
#expand ⇒ Object
24 25 26 |
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 24 def (*) super.tap { ActionTracer.applied_filters << @override_target } end |
#inverted_lambda ⇒ Object
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_lambda ⇒ Object
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 |