Class: Cura::Event::Middleware::Translator::Base
- Inherits:
-
Object
- Object
- Cura::Event::Middleware::Translator::Base
- Defined in:
- lib/cura/event/middleware/translator/base.rb
Overview
The base class for event middleware which detects multiple events and dispatches a new one when found.
Direct Known Subclasses
Instance Method Summary collapse
-
#call(options = {}) ⇒ Object
Call this middleware.
Instance Method Details
#call(options = {}) ⇒ Object
Call this middleware.
18 19 20 |
# File 'lib/cura/event/middleware/translator/base.rb', line 18 def call(={}) translate_event() if should_translate?() end |