diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-02 22:26:58 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-02 22:26:58 +0200 |
commit | 4df07172fef440f24945149b2490c0c60e72e72e (patch) | |
tree | c082fc5d5319ed5ab77b5b3df4cbaeb7256eb3b4 /lib/iotas/door.rb | |
parent | 50b9b41e1e8b3012c165ea6a4c383273afe37ac3 (diff) | |
download | edoors-ruby-4df07172fef440f24945149b2490c0c60e72e72e.zip edoors-ruby-4df07172fef440f24945149b2490c0c60e72e72e.tar.gz |
set direct routing through action parameter to Door#send_p and Door#send_sys_p
Diffstat (limited to 'lib/iotas/door.rb')
-rw-r--r-- | lib/iotas/door.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/iotas/door.rb b/lib/iotas/door.rb index d2466d0..de6b5a0 100644 --- a/lib/iotas/door.rb +++ b/lib/iotas/door.rb @@ -72,14 +72,16 @@ module Iotas @spin.release_p p end # - def send_p p + def send_p p, a=nil p.init! self + p.set_dst! a, self if a @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 + def send_sys_p p, a=nil p.init! self + p.set_dst! a, self if a @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 |