From: Gavin Sinclair Date: 2002-10-04T09:41:59+09:00 Subject: Re: Global variable for file separtator From: "Jeremy Gregorio" > Does ruby have a global variable for the file separator? This is really > useful for cross platform programming ( / for unix \ for windows) but I > couldn't find one in the lists of Ruby's globals I could dig up. Thanks > again :). > > Jeremy Gregorio It's not global, but it's recorded in the File class. Mostly you shouldn't have to worry about it. See File.join. Gavin