summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/room.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-04 10:51:25 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-04 10:51:25 +0200
commit462a7cd9240c652ed44c640947bcb0696e92d68b (patch)
treeb28ef996cbc8bd6bc55ebc437ad296cc129f7c8b /lib/evendoors/room.rb
parent9fed8e1ae1657f97e92afb0bd28875b9fe29654a (diff)
downloadedoors-ruby-462a7cd9240c652ed44c640947bcb0696e92d68b.zip
edoors-ruby-462a7cd9240c652ed44c640947bcb0696e92d68b.tar.gz
room : use EvenDoors::ACT_SEP for log msgs
Diffstat (limited to 'lib/evendoors/room.rb')
-rw-r--r--lib/evendoors/room.rb8
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