Module: RailsSimpleEventSourcing::ApplyWithReturningAggregate

Defined in:
lib/rails_simple_event_sourcing/apply_with_returning_aggregate.rb

Instance Method Summary collapse

Instance Method Details

#apply(aggregate) ⇒ Object



5
6
7
# File 'lib/rails_simple_event_sourcing/apply_with_returning_aggregate.rb', line 5

def apply(aggregate)
  aggregate.tap { super }
end