class Build::Files::Path
def parent
def parent root = @root full_path = File.dirname(@full_path) while root.size > full_path.size root = Path.root(root) end if root.size == full_path.size root = Path.root(root) end self.class.new(full_path, root) end