summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-06-02 21:55:20 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-06-02 21:55:20 +0200
commitef0351bc7598e698897d755b6cfe397d682296c4 (patch)
tree5b31a2aa5e2af2d4cdc734d70d49ec308a516988 /lib
parent80cde0f9e64522efe294def4d761c8353e774cf7 (diff)
downloadedoors-ruby-ef0351bc7598e698897d755b6cfe397d682296c4.zip
edoors-ruby-ef0351bc7598e698897d755b6cfe397d682296c4.tar.gz
Particle: #set_dst! -> add_dst
Diffstat (limited to 'lib')
-rw-r--r--lib/iotas/particle.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/iotas/particle.rb b/lib/iotas/particle.rb
index e723676..850c6ad 100644
--- a/lib/iotas/particle.rb
+++ b/lib/iotas/particle.rb
@@ -110,9 +110,7 @@ module Iotas
end
end
#
- def set_dst! a, d=''
- @dst = @room = @door = @action = nil
- clear_dsts!
+ def add_dst a, d=''
add_dsts d+Iotas::ACT_SEP+a
end
#