Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding apotomo/debugging. simply include that file in an initializer …

…or controller and get the bubbling events printed on the console.

this is WIP and will have a better usability, soon.
  • Loading branch information...
commit 1868b75f58fe8d38e707f13271db045f16edd23b 1 parent 97f262f
@apotonick apotonick authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 lib/apotomo/debugging.rb
View
9 lib/apotomo/debugging.rb
@@ -0,0 +1,9 @@
+require "onfire/debugging"
+
+Apotomo::Event.class_eval do
+ include Onfire::Event::Debugging
+
+ debug do |widget, event|
+ puts "#{widget.name}: #{event}"
+ end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.