Afficher un message
Vieux 14/09/2007, 11h47   #3
Ronald Fischer
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: wrong File::SEPARATOR ?

> Nope, this variable correct because within ruby and its core=20
> libraries,=20
> everything can open files with forward slash separated paths.=20
> Try it.


I know, and that's what I am doing anyway. I just thought - after
reading about File::SEPARATOR - that this would be a good way=20
to pass path parameters on to external processes.

So this is not OS dependend, and within *every* Ruby implementation
it is supposed to be a slash ... not that much sense defining
it as a named constant then, isn't it?

Ronald

  Réponse avec citation
 
Page generated in 0,04370 seconds with 9 queries