Class: N::Event
- Inherits:
-
Object
- Object
- N::Event
- Defined in:
- lib/n/events.rb
Constant Summary collapse
- @@manager =
EventManager.new()
Class Method Summary collapse
Class Method Details
.add_handler(event, name, proc) ⇒ Object
110 111 |
# File 'lib/n/events.rb', line 110 def self.add_handler(event, name, proc) end |
.fire(event, params) ⇒ Object
113 114 115 |
# File 'lib/n/events.rb', line 113 def self.fire(event, params) @@manager.fire(event, params) end |