From: Robert.Koepferl@... Date: 2003-10-09T20:29:11+09:00 Subject: Antwort: Re: SEPARATOR doesn't work Thanks....just learned another thing. It works fine, however there seems to be a bug or anything like this. At least in my (v1.6) version of Ruby File::SEPARATOR returns / on both, BSD and Win32. Is this normal? I intended to split a user given paht in its components. Thus needing it (or not?). Gennady Kopie: Thema: Re: SEPARATOR doesn't work 08.10.2003 18:04 Bitte antworten an ruby-talk Robert.Koepferl@de.gi-de.com wrote: > > > > Hi, > I'm using ruby-win32 1.6 and I'm trying to get the Path-separator ( eg. / > or \ ) to wirte protable programs > > However > > File.SEPARATOR > SEPARATOR > $SEPARATOR > Dir.SEPARATOR > > all return nil. What's wrong > > irb(main):001:0> File.SEPARATOR NameError: undefined method `SEPARATOR' for File:Class from (irb):1 irb(main):002:0> File::SEPARATOR => "/"