module EventSourcing::Aggregate::ClassMethods
Public Instance Methods
handle(event_name, &block)
click to toggle source
# File lib/event_sourcing/aggregate.rb, line 25 def handle(event_name, &block) define_method "apply_#{event_name}", &block end