Module: Triton::Messenger::Emittable
- Defined in:
- lib/triton/messenger.rb
Overview
Mixin that add shortcuts to emit events
Instance Method Summary collapse
Instance Method Details
#emit(type, *args) ⇒ Object
63 64 65 |
# File 'lib/triton/messenger.rb', line 63 def emit(type, *args) Triton::Messenger.emit(type, self, *args) end |