Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Triton

Description

Triton is an implementation of the event/listener pattern like EventEmitter on Node.js.

Installation

gem install triton

Example

require 'triton'
Triton::Messenger.on(:alert) { puts "alert!" }
Triton::Messenger.emit(:alert)
    # -> alert!

License

Released under the MIT License. See the LICENSE file for further details.

About

Triton is an implementation of the event/listener pattern like EventEmitter on Node.js

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages