# File default/neighbor_talker.rb, line 34 def create_neighbor() move() if front_is_clear?() @neighbor = self.clone() # Create the copy @neighbor.create_neighbor() for n in neighbors() do n.display end else @neighbor = NoNeighbor.new(1, 1, WEST, 1) neighbors().each do |n| n.display end class << @neighbor def move super turn_left end end @neighbor.turn_right() end back_up() turn_right() end