Events::Event(H)
Inherits Reference < Object
Abstract Event
Constructors
new(name : String)
SourceInstance methods
add_handler(handler : H)
Add a new handler to the event
Returns a proc that removes the handler from the event
add_handler(block : -> )
Add a new block to the event
Returns a proc that removes the handler from the event
name
Source