From: Wayne Vucenic Date: 2007-04-02T15:16:12+09:00 Subject: Re: Why does File.join use "/" on Windows? On 3/30/07, Robert Klemme wrote: > I'd probably rather use ["foo", "bar"].join File::SEPARATOR (if that's > set to \\ on Windows). File::SEPARATOR is set to '/' on all platforms: C:\>ruby -v ruby 1.8.5 (2006-08-25) [i386-mswin32] C:\>irb irb(main):001:0> File::SEPARATOR => "/" irb(main):002:0> File::Separator => "/" Best regards, Wayne --- Wayne Vucenic No Bugs Software Ruby, Erlang and C# Agile Contract Programming in Silicon Valley