summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/door.rb
diff options
context:
space:
mode:
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