summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/door.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-10 08:47:02 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-10 08:47:02 +0200
commit274411458b30ba08a9e0adca0a0f5820e9a8648f (patch)
tree7f896cd7b30998c53b000e03ca7d1c66ef6f502c /lib/evendoors/door.rb
parentf72393c031018d224318fb4aeff16b6e6c330327 (diff)
downloadedoors-ruby-274411458b30ba08a9e0adca0a0f5820e9a8648f.zip
edoors-ruby-274411458b30ba08a9e0adca0a0f5820e9a8648f.tar.gz
Twirl merge with Space -> Spin is born
Diffstat (limited to 'lib/evendoors/door.rb')
-rw-r--r--lib/evendoors/door.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/evendoors/door.rb b/lib/evendoors/door.rb
index 6118a27..0fe3867 100644
--- a/lib/evendoors/door.rb
+++ b/lib/evendoors/door.rb
@@ -13,14 +13,14 @@ module EvenDoors
end
#
def require_p p_kls
- p = EvenDoors::Twirl.require_p p_kls
+ p = EvenDoors::Spin.require_p p_kls
p.src = self
p
end
#
def release_p p
@saved=nil if @saved==p # particle is released, all is good
- EvenDoors::Twirl.release_p p
+ EvenDoors::Spin.release_p p
end
#
def process_p p
@@ -28,7 +28,7 @@ module EvenDoors
@saved = p
receive_p p
if not @saved.nil?
- puts "#{path} didn't give that particle back #{p}" if EvenDoors::Twirl.debug_errors
+ puts "#{path} didn't give that particle back #{p}" if EvenDoors::Spin.debug_errors
puts "\t#{p.data EvenDoors::ERROR_FIELD}" if p.action==EvenDoors::ACT_ERROR
release_p @saved
@saved = nil
@@ -37,7 +37,7 @@ module EvenDoors
#
def process_sys_p p
# nothing todo with it now
- EvenDoors::Twirl.release_p p
+ EvenDoors::Spin.release_p p
end
#
def send_p p