# File lib/apotomo/widget/tree_node.rb, line 104 def root root = self root = root.parent while !root.root? root end