From: Daniel Carrera Date: 2003-03-28T18:38:26+09:00 Subject: Re: Array question On Fri, Mar 28, 2003 at 06:30:55PM +0900, Tim Bates wrote: > On Fri, 28 Mar 2003 7:57 pm, Daniel Carrera wrote: > > # Set the path according to the OS. > > path = directories.joing { |i| > > CONFIG["host_os"] =~ /Win/ ? "%" : ":" > > } > > Wait, how is that different from this? > path = directories.join(CONFIG["host_os"] =~ /Win/ ? "%" : ":") As I said, stupid example, brain slip. -- Daniel Carrera Graduate Teaching Assistant. Math Dept. University of Maryland. (301) 405-5137 -- depone: depone (di-POHN) verb tr., intr. To declare under oath.