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?

On 4/24/07, huang zhimin [email protected] 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?


[email protected]

Here is one discussion about that topic.
http://www.ruby-forum.com/topic/50137#16542

Harry

On 4/24/07, huang zhimin [email protected] 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?


[email protected]

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