# File lib/pathname2.rb, line 303 def pstrip! if @win PathRemoveBackslash(self) strip! else if self.to_s[-1].chr == @sep strip! chop! end end self end