Registry / utility / event-object

event-object

JSON →
library0.9.4rbrubygemsunverified

Event-driven programming for Ruby.

gem install event_object
INSTALL
IMPORT
SIG · EVENT-OBJECT
E
event-object
utilityrubyv0.9.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

EventObject
require 'event_object'

Define and fire custom events

require 'event_object' class MyClass include EventObject event :something_happened end obj = MyClass.new obj.on_something_happened { puts 'Event fired!' } obj.fire_something_happened
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
event-object — gem install event-object · libregistry