Sha256: 7aebdb61cc1a5ff7401adce3e6a7c3731087fefb212b539a109df31af4db6982

Contents?: true

Size: 282 Bytes

Versions: 14

Compression:

Stored size: 282 Bytes

Contents

module Apotomo
  # Events are created by Apotomo in #fire. They bubble up from their source to root and trigger
  # event handlers. 
  class Event < Onfire::Event
    def to_s
      "<Event :#{type} source=#{source.widget_id}>"
    end
    
    delegate :[], :to => :data
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
apotomo-1.3.2 lib/apotomo/event.rb
apotomo-1.3.1 lib/apotomo/event.rb
apotomo-1.3.0 lib/apotomo/event.rb
apotomo-1.2.6 lib/apotomo/event.rb
apotomo-1.2.5 lib/apotomo/event.rb
apotomo-1.2.4 lib/apotomo/event.rb
apotomo-1.2.3 lib/apotomo/event.rb
apotomo-1.2.2 lib/apotomo/event.rb
apotomo-1.2.1 lib/apotomo/event.rb
apotomo-1.2.0 lib/apotomo/event.rb
apotomo-1.1.4 lib/apotomo/event.rb
apotomo-1.1.3 lib/apotomo/event.rb
apotomo-1.1.2 lib/apotomo/event.rb
apotomo-1.1.1 lib/apotomo/event.rb