Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3244
| From | jake kaiden <jakekaiden@yahoo.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Problem with displaying command line outputs |
| Date | 2011-04-20 09:47 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <d007e6b34efbe07c2ffbd4683da2744e@ruby-forum.com> (permalink) |
| References | <48522f9d35b96f204cda9ff5764fa129@ruby-forum.com> |
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/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Find similar | Unroll thread
Problem with displaying command line outputs John Smith <ks1911shooter@yahoo.com> - 2011-04-15 15:07 -0500 Re: Problem with displaying command line outputs John Smith <ks1911shooter@yahoo.com> - 2011-04-20 08:59 -0500 Re: Problem with displaying command line outputs jake kaiden <jakekaiden@yahoo.com> - 2011-04-20 09:47 -0500
csiph-web