Class: Cura::Event::Middleware::Dispatch
- Defined in:
- lib/cura/event/middleware/dispatch.rb
Overview
Adds the event to the dispatch queue. Should be the very last middleware in the chain.
Instance Method Summary collapse
-
#call(options = {}) ⇒ Object
Add the event to the dispatch queue.
Instance Method Details
#call(options = {}) ⇒ Object
Add the event to the dispatch queue.
11 12 13 |
# File 'lib/cura/event/middleware/dispatch.rb', line 11 def call(={}) [:dispatch_queue] << [:event] end |