On 29/12/05, Justin Johnson <justinjohnson / gmail.com> 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?

Unless you're interacting with external programs, you don't need it to.

When you do, a simple .gsub(%r{/}) { "\\" } will do.

-austin
--
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca