diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 10:51:25 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 10:51:25 +0200 |
commit | 462a7cd9240c652ed44c640947bcb0696e92d68b (patch) | |
tree | b28ef996cbc8bd6bc55ebc437ad296cc129f7c8b /lib/evendoors | |
parent | 9fed8e1ae1657f97e92afb0bd28875b9fe29654a (diff) | |
download | edoors-ruby-462a7cd9240c652ed44c640947bcb0696e92d68b.zip edoors-ruby-462a7cd9240c652ed44c640947bcb0696e92d68b.tar.gz |
room : use EvenDoors::ACT_SEP for log msgs
Diffstat (limited to 'lib/evendoors')
-rw-r--r-- | lib/evendoors/room.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb index ec908b5..689ba52 100644 --- a/lib/evendoors/room.rb +++ b/lib/evendoors/room.rb @@ -88,11 +88,11 @@ module EvenDoors if d = p.dst puts " * send #{d.to_str} ..." if EvenDoors::Twirl.debug route_p p, p.split_dst! - puts " -> #{p.door.path}:#{p.action}" if EvenDoors::Twirl.debug + puts " -> #{p.door.path}#{EvenDoors::ACT_SEP}#{p.action}" if EvenDoors::Twirl.debug EvenDoors::Twirl.send_p p elsif not try_links p p.error! EvenDoors::ERROR_ROUTE_NDNL - puts " -> #{p.door.path}:#{p.action}" if EvenDoors::Twirl.debug + puts " -> #{p.door.path}#{EvenDoors::ACT_SEP}#{p.action}" if EvenDoors::Twirl.debug EvenDoors::Twirl.send_p p end end @@ -101,11 +101,11 @@ module EvenDoors if d = p.dst puts " * send_sys #{d.to_str} ..." if EvenDoors::Twirl.debug route_p p, p.split_dst! - puts " -> #{p.door.path}:#{p.action}" if EvenDoors::Twirl.debug + puts " -> #{p.door.path}#{EvenDoors::ACT_SEP}#{p.action}" if EvenDoors::Twirl.debug EvenDoors::Twirl.send_sys_p p else p.error! EvenDoors::ERROR_ROUTE_SND - puts " -> #{p.door.path}:#{p.action}" if EvenDoors::Twirl.debug + puts " -> #{p.door.path}#{EvenDoors::ACT_SEP}#{p.action}" if EvenDoors::Twirl.debug EvenDoors::Twirl.send_sys_p p end end |