Class: Apotomo::Event

Inherits:
Onfire::Event
  • Object
show all
Defined in:
lib/apotomo/event.rb

Overview

Events are created by Apotomo in #fire. They bubble up from their source to root and trigger event handlers.

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_s



5
6
7
# File 'lib/apotomo/event.rb', line 5

def to_s
  "<Event :#{type} source=#{source.widget_id}>"
end