Module: Onfire::Event::Debugging

Defined in:
lib/onfire/debugging.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
# File 'lib/onfire/debugging.rb', line 4

def self.included(base)
  base.extend ClassMethods
end

Instance Method Details

#call_handler(proc, node) ⇒ Object

Currently unused.



32
33
34
# File 'lib/onfire/debugging.rb', line 32

def call_handler(proc, node)
  super
end

#process_node(node) ⇒ Object



23
24
25
26
27
28
29
# File 'lib/onfire/debugging.rb', line 23

def process_node(node)
  self.class.debug_blocks.each do |debugger|
    debugger.call(node, self, node.handlers_for_event(self))
  end
  
  super
end