From: Dave Castellano Date: 2010-07-28T21:26:37+09:00 Subject: Re: multidimensional array insert syntax Jes炭s Gabriel y Gal叩n wrote: > On Wed, Jul 28, 2010 at 1:10 PM, Robert Klemme > wrote: > >> Use Array#insert. > > Amazing how I missed that, given that I was specifically looking for > it in the rdoc :D > I call "sleep deprived", or something > > Jesus. That works for single dimension arrays but I can't figure out the syntax for multi... I have been trying to use "answer_choices.insert" but cannot figure out the syntax eg answer_choices.insert([x][1],correct_ans_1) does not work.. Could you give me an example of Array#insert. using multidim. array Thanks, DC -- Posted via http://www.ruby-forum.com/.