convert all forward slashes to backslashes. Also, the
various PathXXX
functions do NOT work with forward slashes.Inasmuch as is possible, where Ruby provides these, it should
hide this distinction. I would hate to have to enter \ every
time I wanted to put two files together. (It would also
increase the mismatch between Ruby Windows and everywhere
else, so the more we can hide that the more portable we make Ruby.)-austin
Oops. That should have said, “…convert all forward slashes to
backslashes on Windows”.
Ok, technically, it uses File::ALT_SEPARATOR if it has one. Otherwise,
it uses File::SEPARATOR.
Regards,
Dan
This communication is the property of Qwest and may contain confidential
or
privileged information. Unauthorized use of this communication is
strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
destroy
all copies of the communication and any attachments.