lib/engine2/action_node.rb in engine2-1.0.7 vs lib/engine2/action_node.rb in engine2-1.0.8

- old
+ new

@@ -169,10 +169,11 @@ true end end thefts = 0 + panels = 0 each_node do |node| action = node.* model = action.assets[:model] assoc = action.assets[:assoc] if model && assoc @@ -191,15 +192,17 @@ action.instance_eval(&node.meta_proc) if node.meta_proc true end each_node do |node| - node.*.post_run - node.*.freeze_action + meta = node.* + meta.post_run + meta.freeze_action + panels += 1 if node.*.is_a? ActionPanelSupport true end - ::Kernel::puts "ACTION NODES: #{ActionNode.count}, Time: #{::Time.now - time}, Thefts: #{thefts}" + ::Kernel::puts "ACTION NODES: #{ActionNode.count}, Panels: #{panels}, Time: #{::Time.now - time}, Thefts: #{thefts}" end def p *args ::Kernel::p *args end \ No newline at end of file