# File lib/apotomo/widget/tree_node.rb, line 137 def path path = [name] ancestor = parent while ancestor path << ancestor.name ancestor = ancestor.parent end path.reverse.join("/") end