# File karel/ur_robot.rb, line 128 def neighbors result = Robota::World.neighbors_of(self, @street, @avenue) if block_given? for neighbor in result yield neighbor end end result = [] if result == nil return result end