summaryrefslogtreecommitdiffstats
path: root/lib/iotas/door.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-03 10:09:42 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-03 10:09:42 +0200
commitd15d685884db41c7480f30c201d7303de8c55788 (patch)
tree47e23802dd6d8a33a8d4762da44e664b989df153 /lib/iotas/door.rb
parent3acfb2c015df1af71db3bb16c26e01ffdd56962e (diff)
downloadedoors-ruby-d15d685884db41c7480f30c201d7303de8c55788.zip
edoors-ruby-d15d685884db41c7480f30c201d7303de8c55788.tar.gz
Door: do not call p#init! in require_p, only in send_p
Diffstat (limited to 'lib/iotas/door.rb')
-rw-r--r--lib/iotas/door.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/iotas/door.rb b/lib/iotas/door.rb
index de6b5a0..7d57b1c 100644
--- a/lib/iotas/door.rb
+++ b/lib/iotas/door.rb
@@ -43,9 +43,7 @@ module Iotas
end
#
def require_p p_kls
- p = @spin.require_p p_kls
- p.init! self
- p
+ @spin.require_p p_kls
end
#
def release_p p