[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Can File::join be used on Windows?

Robert Dober

4/24/2007 9:09:00 AM

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
>

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 ;)

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