Class: Vedeu::Events::Repository
- Inherits:
-
Repository
- Object
- Repository
- Vedeu::Events::Repository
- Defined in:
- lib/vedeu/events/repository.rb
Overview
Allows the storing of events.
Class Method Summary collapse
-
.reset! ⇒ Vedeu::Events::Repository
(also: reset)
Remove all stored models from the repository.
Methods included from Store
#each, #empty?, #exists?, #in_memory, #registered, #reset, #size, #storage
Methods included from Registerable
Methods included from Common
#demodulize, #present?, #snake_case
Constructor Details
This class inherits a constructor from Vedeu::Repository
Class Method Details
.reset! ⇒ Vedeu::Events::Repository Also known as: reset
Remove all stored models from the repository.
19 20 21 |
# File 'lib/vedeu/events/repository.rb', line 19 def reset! @events = new(Vedeu::Events::Collection) end |