code: function getAncestry() {
    var path = this;
    var paths = [];
    do {
      paths.push(path);
    } while (path = path.parentPath);
    return paths;
  }
docs: Build an array of node paths containing the entire ancestry of the current node path.
  
  NOTE: The current node path is included in this.