summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/room.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-11 09:06:10 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-12 09:38:00 +0200
commit4d75d72f0173567cc013eda0d4d78af442dc2a1d (patch)
tree313880c5c5309b56da6ca715ccc982c3b0aafcb2 /lib/evendoors/room.rb
parent96f18986ad575b1e061cb23deadc5ad3a112dcc5 (diff)
downloadedoors-ruby-4d75d72f0173567cc013eda0d4d78af442dc2a1d.zip
edoors-ruby-4d75d72f0173567cc013eda0d4d78af442dc2a1d.tar.gz
Room#spin -> Spot#spin
Diffstat (limited to 'lib/evendoors/room.rb')
-rw-r--r--lib/evendoors/room.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index a3efc7a..4e06bf7 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -76,11 +76,6 @@ module EvenDoors
@spots.values.each do |spot| spot.stop! if spot.respond_to? :stop! end
end
#
- def spin
- return @spin if @spin
- @spin = ( @parent.nil? ? self : @parent.spin )
- end
- #
def search_down spath
return self if spath==path
return nil if (spath=~/^#{path}\/(\w+)\/?/)!=0