Class: Sequent::Core::AggregateRoots

Inherits:
Object
  • Object
show all
Defined in:
lib/sequent/core/aggregate_roots.rb

Overview

Utility class containing all subclasses of AggregateRoot.

Class Method Summary collapse

Class Method Details

.aggregate_rootsObject



10
11
12
# File 'lib/sequent/core/aggregate_roots.rb', line 10

def aggregate_roots
  Sequent::AggregateRoot.descendants
end

.allObject



14
15
16
# File 'lib/sequent/core/aggregate_roots.rb', line 14

def all
  aggregate_roots
end