array1= array2... = array10 = [] On Tue, Jan 11, 2011 at 12:33 PM, Hemant Bhargava <[email protected]>wrote:
> Hello Rubyites, > > Seems like this is a newbie question but want to get rid of it asap. > Googled but found nothing. > > I have some arrays(10 arrays) which i am using in my code. Now > declaraing/defining each/every array is redudant code as like > array1, array2... array10 = [], [],...[] > > Is there any other possible solution to this? > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rubyonrails-talk%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- sαη∂ιρ Rαηѕιηg --- blog www.funonrails.com twitter @sandipransing skype sandip.ransing -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

