Gavin Sinclair
10/8/2003 10:46:00 PM
On Thursday, October 9, 2003, 1:56:56 AM, Robert 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
File.join(elt, elt, elt) is a handy way of achieving this
(where elt is a path element).
Gavin