On Tue, Jul 22, 2008 at 12:45 PM, Indra M. <peppermint_petty / gmx.net> wrote: > Hi, > > I want to extend a complex, multidimensional array with (code snippet): > > results.each do |result| > result[1] << [string, array] > puts result[1] > end > puts results > > The output of "result[1]" is correct, showing the [string, array] is > attached. > But putting "results" shows, that "array" is not in "results". But putting "result" <that is without an s> might be more to your liking. HTH Robert -- http://ruby-smalltalk.blogspot.com/ There's no one thing that's true. It's all true. -- Ernest Hemingway