Class: EventSourcing::Event::Subscriber
- Inherits:
-
Concurrent::Actor::RestartingContext
- Object
- Concurrent::Actor::RestartingContext
- EventSourcing::Event::Subscriber
- Defined in:
- lib/event_sourcing/event/subscriber.rb
Overview
TODO: Should be a plain Context?
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#on_message(event) ⇒ Object
11 12 13 |
# File 'lib/event_sourcing/event/subscriber.rb', line 11 def (event) send("handle_#{event}", event) end |