From: Chuck Brotman Date: 2010-06-14T12:39:06+09:00 Subject: Re: Idiomatic Printing an array with commas I tried it and that appears to be exactly what I need!! Thank you very much!!! Brian Candler wrote: > > You want String#inspect. (irb calls #inspect on the object it's > displaying) > > $ irb --simple-prompt >>> a = ["one","two","three"] > => ["one", "two", "three"] >>> puts a.inspect > ["one", "two", "three"] > => nil -- Posted via http://www.ruby-forum.com/.