From: 7stud 7stud Date: 2007-08-30T13:30:45+09:00 Subject: Re: displaying an array Sebastian Hungerecker wrote: >> Is there a command to get the same format when I display an array with a >> program? > > p (which is equivalent to puts foo.inspect) > > > You can use any non-alphanumeric character with %w (or %r or whatever). > It won't make a difference. Thanks Sebastian. Thanks Gavin. -- Posted via http://www.ruby-forum.com/.