def parents
      page, parents = self, Array.new
      while page.parent
        page = page.parent
        parents << page
      end
      parents
    end
def parents
      page, parents = self, Array.new
      while page.parent
        page = page.parent
        parents << page
      end
      parents
    end
def parents page , parents = self , Array . new while page . parent page = page . parent parents << page end parents end
List parents, closest to furthest.

 This is a recursive, expensive call.
List parents closest to furthest .