# File lib/fssm/pathname.rb, line 50 def ascend parts = to_a parts.length.downto(1) do |i| yield self.class.join(parts[0, i]) end end