Module: ActionTracer::MonkeyPatches::ActiveSupport::Callbacks::CallTemplate::MethodCall
- Defined in:
- lib/action_tracer/monkey_patches/active_support/callbacks.rb
Instance Method Summary collapse
Instance Method Details
#expand ⇒ Object
10 11 12 |
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 10 def (*) super.tap { ActionTracer.applied_filters << @method_name } end |
#inverted_lambda ⇒ Object
18 19 20 |
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 18 def inverted_lambda super >> proc { |result| ActionTracer.applied_filters << @method_name; result } end |
#make_lambda ⇒ Object
14 15 16 |
# File 'lib/action_tracer/monkey_patches/active_support/callbacks.rb', line 14 def make_lambda super >> proc { |result| ActionTracer.applied_filters << @method_name; result } end |