summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/twirl.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-09 13:36:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-09 13:36:08 +0200
commit865a67bf6b4313bda71f7689acc1ccae088c7c77 (patch)
tree8e672cde3d1271eef159f83c6c23741d780e9ab5 /lib/evendoors/twirl.rb
parent0b120c62d266cc776b183119ab9a5dc602eabc51 (diff)
downloadedoors-ruby-865a67bf6b4313bda71f7689acc1ccae088c7c77.zip
edoors-ruby-865a67bf6b4313bda71f7689acc1ccae088c7c77.tar.gz
debug -> debug_routing + debug_errors
Diffstat (limited to 'lib/evendoors/twirl.rb')
-rw-r--r--lib/evendoors/twirl.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/evendoors/twirl.rb b/lib/evendoors/twirl.rb
index 1ddf490..cb01618 100644
--- a/lib/evendoors/twirl.rb
+++ b/lib/evendoors/twirl.rb
@@ -6,7 +6,8 @@ module EvenDoors
#
class Twirl
#
- @debug = false
+ @debug_routing = false
+ @debug_errors = false
@pool = {} # per particle class free list
@sys_fifo = [] # system particles fifo list
@app_fifo = [] # application particles fifo list
@@ -15,7 +16,7 @@ module EvenDoors
#
class << self
#
- attr_accessor :debug, :run
+ attr_accessor :run, :debug_routing, :debug_errors
#
def release_p p
# hope there is no circular loop