Class: Sequent::Core::AggregateRoots
- Inherits:
-
Object
- Object
- Sequent::Core::AggregateRoots
- Defined in:
- lib/sequent/core/aggregate_roots.rb
Overview
Utility class containing all subclasses of AggregateRoot
Class Method Summary collapse
Class Method Details
.<<(aggregate_root) ⇒ Object
18 19 20 |
# File 'lib/sequent/core/aggregate_roots.rb', line 18 def <<(aggregate_root) aggregate_roots << aggregate_root end |
.aggregate_roots ⇒ Object
10 11 12 |
# File 'lib/sequent/core/aggregate_roots.rb', line 10 def aggregate_roots @aggregate_roots ||= [] end |
.all ⇒ Object
14 15 16 |
# File 'lib/sequent/core/aggregate_roots.rb', line 14 def all aggregate_roots end |