summaryrefslogtreecommitdiffstats
path: root/lib/evendoors
diff options
context:
space:
mode:
Diffstat (limited to 'lib/evendoors')
-rw-r--r--lib/evendoors/room.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb
index 6497f02..8b62c24 100644
--- a/lib/evendoors/room.rb
+++ b/lib/evendoors/room.rb
@@ -67,12 +67,12 @@ module EvenDoors
#
def start!
puts " * start #{path}" if @spin.debug_routing
- @spots.values.each do |spot| spot.start! if spot.respond_to? :start! end
+ @spots.values.each do |spot| spot.start! end
end
#
def stop!
puts " * stop #{path}" if @spin.debug_routing
- @spots.values.each do |spot| spot.stop! if spot.respond_to? :stop! end
+ @spots.values.each do |spot| spot.stop! end
end
#
def search_down spath