diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-14 10:34:47 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-14 10:34:47 +0200 |
commit | 20c597c6168f9cfecb1d7071b425c78c65b99349 (patch) | |
tree | 775d93290ea3fbba7e42259afae46553f0a2cf51 /lib/evendoors | |
parent | 7ddad9628c9c1431fbdf4d2f1917252f9fd97e7d (diff) | |
download | edoors-ruby-20c597c6168f9cfecb1d7071b425c78c65b99349.zip edoors-ruby-20c597c6168f9cfecb1d7071b425c78c65b99349.tar.gz |
Room: remove useless respond_to? in start! and stop!
Diffstat (limited to 'lib/evendoors')
-rw-r--r-- | lib/evendoors/room.rb | 4 |
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 |