From: Nobuyoshi Nakada Date: 2008-02-15T10:43:59+09:00 Subject: Re: ruby wish-list Hi, At Fri, 15 Feb 2008 06:50:23 +0900, Suraj Kurapati wrote in [ruby-talk:291073]: > Alexey Verkhovsky wrote: > > puts e.backtrace.join("\n ") > > puts e.backtrace > > puts will automatically insert the platform-dependent line-break for > you. Alexey uses indentation. > (Note that join("\n") is not sufficient to produce proper > line-breaks on Windows). Not true always. It depends on whether the output is opened in text mode or in binary mode. -- Nobu Nakada