Method: Aggregates::Domain#process_commands_with

Defined in:
lib/aggregates/domain.rb

#process_commands_with(*command_processors) ⇒ Object



24
25
26
27
28
# File 'lib/aggregates/domain.rb', line 24

def process_commands_with(*command_processors)
  command_processors.each do |command_processor|
    @command_processors << command_processor
  end
end