From: matz@... (Yukihiro Matsumoto) Date: 2002-01-28T00:44:20+09:00 Subject: Re: Dir[] and File.stat(str).directory? on Win98 Hi, In message "Dir[] and File.stat(str).directory? on Win98" on 02/01/27, Stephan K�mper writes: |Now that seems to be kind of inconststent to me. "File.stat" works |as I think it should. But "Dir[]" only works with unixish file names, |not with the dosish backslashes... Yes. It's known restriction. |As far as I see I could work around this by redefining Dir[] so that |it gsubs any \es into /es and then calls the original Dir[]... | |But how would I 'alias' a class method correctly? I'm not sure gsub'ing works properly for complicated cases. But anyway, you can do class <