Class: ActiveSupport::Callbacks::CallTemplate::InstanceExec1
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/callbacks.rb
Instance Method Summary collapse
- #expand(target, value, block) ⇒ Object
-
#initialize(block) ⇒ InstanceExec1
constructor
A new instance of InstanceExec1.
- #inverted_lambda ⇒ Object
- #make_lambda ⇒ Object
Constructor Details
#initialize(block) ⇒ InstanceExec1
Returns a new instance of InstanceExec1.
457 458 459 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/callbacks.rb', line 457 def initialize(block) @override_block = block end |
Instance Method Details
#expand(target, value, block) ⇒ Object
461 462 463 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/callbacks.rb', line 461 def (target, value, block) [target, @override_block, :instance_exec, target] end |