Class Onfire::Event
In: lib/onfire/debugging.rb
lib/onfire/event.rb
Parent: Object

An event carries a type, source, and optional payload. Calling bubble! it starts at its source and traverses up the hierarchy using parent. On every node it calls handlers_for_event on the node while calling returned procs.

Methods

new   stop!   stopped?  

Included Modules

ProcessingMethods

Classes and Modules

Module Onfire::Event::Debugging
Module Onfire::Event::ProcessingMethods

Attributes

data  [RW] 
source  [RW] 
type  [RW] 

Public Class methods

Public Instance methods

Stop event bubbling.

[Validate]