Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail From: jake kaiden Newsgroups: comp.lang.ruby Subject: Re: Problem with displaying command line outputs Date: Wed, 20 Apr 2011 09:47:20 -0500 Organization: Service de news de lacave.net Lines: 13 Message-ID: References: <48522f9d35b96f204cda9ff5764fa129@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1303310886 97484 65.111.164.187 (20 Apr 2011 14:48:06 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Wed, 20 Apr 2011 14:48:06 +0000 (UTC) In-Reply-To: <48522f9d35b96f204cda9ff5764fa129@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 381925 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:3244 hi john - don't know if this will work in your case, but i've found when doing similar tests/debugs that "p string" works when "puts string" doesn't. "p" calls obj.inspect, rather than obj.to_s - http://polishinggems.blogspot.com/2011/02/p-vs-puts-vs-print.html - j -- Posted via http://www.ruby-forum.com/.