summaryrefslogtreecommitdiffstats
path: root/test/test_evendoors.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-04 09:56:41 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-04 09:56:41 +0200
commit95a62fc57568e58930d6404d0ad2c331c469a1ea (patch)
treed0c95cc199464f4f3ec4142766cfe89a33b66775 /test/test_evendoors.rb
parent2848c599841ae851238a361e7a6c27aa869ea100 (diff)
downloadedoors-ruby-95a62fc57568e58930d6404d0ad2c331c469a1ea.zip
edoors-ruby-95a62fc57568e58930d6404d0ad2c331c469a1ea.tar.gz
add _p suffix to methods process, process_sys and receive
Diffstat (limited to 'test/test_evendoors.rb')
-rw-r--r--test/test_evendoors.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_evendoors.rb b/test/test_evendoors.rb
index 05b771b..204cc5d 100644
--- a/test/test_evendoors.rb
+++ b/test/test_evendoors.rb
@@ -18,7 +18,7 @@ class InputDoor < EvenDoors::Door
# puts " * stop #{self.class.name} #{@path}" if EvenDoors::Twirl.debug
# end
#
- def receive p
+ def receive_p p
puts " * #{self.class.name} receive_p : #{p.action}" if EvenDoors::Twirl.debug
if p.action==EvenDoors::ACT_GET
p.reset!
@@ -50,7 +50,7 @@ class OutputDoor < EvenDoors::Door
# puts " * stop #{self.class.name} #{@path}" if EvenDoors::Twirl.debug
# end
#
- def receive p
+ def receive_p p
if EvenDoors::Twirl.debug
puts " * #{self.class.name} receive_p : #{@path} : DATA #{p.get_data('line')}"
else