Module: Interactify::Contracts::CallWrapper
- Defined in:
- lib/interactify/contracts/call_wrapper.rb
Instance Method Summary collapse
-
#run ⇒ Object
github.com/collectiveidea/interactor/blob/57b2af9a5a5afeb2c01059c40b792485cc21b052/lib/interactor.rb#L114 Interactor#run calls Interactor#run! github.com/collectiveidea/interactor/blob/57b2af9a5a5afeb2c01059c40b792485cc21b052/lib/interactor.rb#L49 Interactor.call calls Interactor.run.
Instance Method Details
#run ⇒ Object
github.com/collectiveidea/interactor/blob/57b2af9a5a5afeb2c01059c40b792485cc21b052/lib/interactor.rb#L114 Interactor#run calls Interactor#run! github.com/collectiveidea/interactor/blob/57b2af9a5a5afeb2c01059c40b792485cc21b052/lib/interactor.rb#L49 Interactor.call calls Interactor.run
The non bang methods call the bang methods and rescue
12 13 14 15 16 |
# File 'lib/interactify/contracts/call_wrapper.rb', line 12 def run @_interactor_called_by_non_bang_method = true super end |