Class: EventSourcing::Aggregate::Wrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/event_sourcing/aggregate/wrapper.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(name, *args) ⇒ Object



8
9
10
# File 'lib/event_sourcing/aggregate/wrapper.rb', line 8

def method_missing(name, *args)
  manager.tell(wrap(name, args))
end