Class: Events::EventEmitter

Inherits:
Object
  • Object
show all
Includes:
Emitter
Defined in:
lib/events.rb

Overview

The Events::EventEmitter class provides a clone of the Node.js EventEmitter API for Ruby.

It simply includes the Events::Emitter module, and is provided as a convenience for those who wish to inherit from a class.

See Events::Emitter for more.

Constant Summary

Constants included from Emitter

Events::Emitter::DEFAULT_MAX_LISTENERS

Method Summary

Methods included from Emitter

#add_listener, #emit, #listeners, #max_listeners=, #once, #remove_all_listeners, #remove_listener