Can File::join be used on Windows?

I use File::join perfect on Linux, but when I use it on Windows, it still
use "/" to separate file path rather than "\". Does it mean File::join can
not be used on Windows?

···

--
flyerhzm@hotmail.com

Here is one discussion about that topic.

Harry

···

On 4/24/07, huang zhimin <flyerhzm@gmail.com> wrote:

I use File::join perfect on Linux, but when I use it on Windows, it still
use "/" to separate file path rather than "\". Does it mean File::join can
not be used on Windows?

--
flyerhzm@hotmail.com

--

A Look into Japanese Ruby List in English

Apart from the discussion indicated by Harry I use it frequently and
without any problems either under cygwin, either under "pure" Windows Ruby.
I always felt the purpose of File.join is to be multiplatform :wink:

Cheers
Robert

···

On 4/24/07, huang zhimin <flyerhzm@gmail.com> wrote:

I use File::join perfect on Linux, but when I use it on Windows, it still
use "/" to separate file path rather than "\". Does it mean File::join can
not be used on Windows?

--
flyerhzm@hotmail.com

--
You see things; and you say Why?
But I dream things that never were; and I say Why not?
-- George Bernard Shaw