The Events::Emitter mixin provides a clone of the Node.js EventEmitter API for Ruby.
Matthew Sadler
gem "events", "~> 0.9.8"