# File lib/pathname2.rb, line 231 def undecorate! unless @win raise NotImplementedError, "not supported on this platform" end buf = 0.chr * MAXPATH buf[0..self.length-1] = self PathUndecorate(buf) replace(buf.split(0.chr).first) self end