Module: Interaktor::Organizer::InstanceMethods
- Defined in:
- lib/interaktor/organizer.rb
Instance Method Summary collapse
-
#call ⇒ void
Invoke the organized Interaktors.
Instance Method Details
#call ⇒ void
This method returns an undefined value.
Invoke the organized Interaktors. An Interaktor::Organizer is expected NOT to define its own ‘#call` in favor of this default implementation.
41 42 43 44 45 |
# File 'lib/interaktor/organizer.rb', line 41 def call self.class.organized.each do |interaktor| catch(:early_return) { interaktor.call!(@context) } end end |