Method: Clockwork::DatabaseEvents::EventCollection#initialize
- Defined in:
- lib/clockwork/database_events/event_collection.rb
#initialize(manager = Clockwork.manager) ⇒ EventCollection
Returns a new instance of EventCollection.
5 6 7 8 |
# File 'lib/clockwork/database_events/event_collection.rb', line 5 def initialize(manager=Clockwork.manager) @events = [] @manager = manager end |