From 80cde0f9e64522efe294def4d761c8353e774cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Fri, 25 May 2012 15:11:45 +0200 Subject: Door: use Particle#init! --- lib/iotas/door.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/iotas/door.rb b/lib/iotas/door.rb index a5ffb97..d2466d0 100644 --- a/lib/iotas/door.rb +++ b/lib/iotas/door.rb @@ -44,7 +44,7 @@ module Iotas # def require_p p_kls p = @spin.require_p p_kls - p.src = self + p.init! self p end # @@ -73,13 +73,13 @@ module Iotas end # def send_p p - p.src = self + p.init! self @saved=nil if @saved==p # particle is sent back the data, all is good @parent.send_p p # daddy will know what to do end # def send_sys_p p - p.src = self + p.init! self @saved=nil if @saved==p # particle is sent back the data, all is good @parent.send_sys_p p # daddy will know what to do end -- cgit v1.1-2-g2b99