diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 09:56:41 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-04 09:56:41 +0200 |
commit | 95a62fc57568e58930d6404d0ad2c331c469a1ea (patch) | |
tree | d0c95cc199464f4f3ec4142766cfe89a33b66775 /lib/evendoors/door.rb | |
parent | 2848c599841ae851238a361e7a6c27aa869ea100 (diff) | |
download | edoors-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.rb | 6 |
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 |