Class: ActiveSupport::Callbacks::CallTemplate::MethodCall
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/callbacks.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#expand(target, value, block) ⇒ Object
Return the parts needed to make this call, with the given input values.
-
#initialize(method) ⇒ MethodCall
constructor
A new instance of MethodCall.
- #inverted_lambda ⇒ Object
- #make_lambda ⇒ Object
Constructor Details
#initialize(method) ⇒ MethodCall
Returns a new instance of MethodCall.
377 378 379 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/callbacks.rb', line 377 def initialize(method) @method_name = method end |
Instance Method Details
#expand(target, value, block) ⇒ Object
394 395 396 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/callbacks.rb', line 394 def (target, value, block) [target, block, @method_name] end |