diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-11 09:06:10 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-12 09:38:00 +0200 |
commit | 4d75d72f0173567cc013eda0d4d78af442dc2a1d (patch) | |
tree | 313880c5c5309b56da6ca715ccc982c3b0aafcb2 /lib/evendoors/spot.rb | |
parent | 96f18986ad575b1e061cb23deadc5ad3a112dcc5 (diff) | |
download | edoors-ruby-4d75d72f0173567cc013eda0d4d78af442dc2a1d.zip edoors-ruby-4d75d72f0173567cc013eda0d4d78af442dc2a1d.tar.gz |
Room#spin -> Spot#spin
Diffstat (limited to 'lib/evendoors/spot.rb')
-rw-r--r-- | lib/evendoors/spot.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/evendoors/spot.rb b/lib/evendoors/spot.rb index 68c6676..fc87a32 100644 --- a/lib/evendoors/spot.rb +++ b/lib/evendoors/spot.rb @@ -38,6 +38,11 @@ module EvenDoors @path = ( @parent ? @parent.path+EvenDoors::PATH_SEP : '') + name end # + def spin + return @spin if @spin + @spin = ( @parent.nil? ? self : @parent.spin ) + end + # end # end |