Class: Interpipe::Splitter

Inherits:
Organizer show all
Defined in:
lib/interpipe/splitter.rb

Instance Method Summary collapse

Methods inherited from Organizer

[], interactors, #interactors, interactors=

Methods included from Interactor

included, #initialize, #setup

Instance Method Details

#perform(**options) ⇒ Object


6
7
8
9
10
# File 'lib/interpipe/splitter.rb', line 6

def perform(**options)
  @results = interactors.map do |interactor|
    interactor.perform(options).results
  end
end