Austin Ziegler
12/29/2005 9:38:00 PM
On 29/12/05, Bob Showalter <bob_showalter@taylorwhite.com> wrote:
> Justin Johnson wrote:
> > Using ruby 1.8.2 on Windows XP, the path separator used for things like
> > File.join is always / instead of \. Is there a way to force ruby to use
> > the correct path separator?
> "correct" is debatable, since the Windows API accepts / as a separator.
Sort of. The base Win32 API does accept \ or /. However, the Unicode
Win32API -- which will be used in the future -- does not accept /.
Ruby, however, should continue to support both.
-austin
--
Austin Ziegler * halostatue@gmail.com
* Alternate: austin@halostatue.ca