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