Class: Sequent::Core::Projectors
- Inherits:
-
Object
- Object
- Sequent::Core::Projectors
- Defined in:
- lib/sequent/core/projector.rb
Overview
Utility class containing all subclasses of Projector.
Class Method Summary collapse
Class Method Details
.all ⇒ Object
143 144 145 |
# File 'lib/sequent/core/projector.rb', line 143 def all projectors end |
.find(projector_name) ⇒ Object
147 148 149 |
# File 'lib/sequent/core/projector.rb', line 147 def find(projector_name) projectors.find { |c| c.name == projector_name } end |