summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/door.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 /lib/evendoors/door.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 'lib/evendoors/door.rb')
-rw-r--r--lib/evendoors/door.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/evendoors/door.rb b/lib/evendoors/door.rb
index 9807d46..a3936ba 100644
--- a/lib/evendoors/door.rb
+++ b/lib/evendoors/door.rb
@@ -23,10 +23,10 @@ module EvenDoors
EvenDoors::Twirl.release_p p
end
#
- def process p
- @viewer.receive p if @viewer
+ def process_p p
+ @viewer.receive_p p if @viewer
@saved = p
- receive p
+ receive_p p
if not @saved.nil?
puts "application didn't give that particle back #{p}" if EvenDoors::Twirl.debug
puts "\t#{p.data EvenDoors::ERROR_FIELD}" if p.action==EvenDoors::ACT_ERROR