I am sorry but i knew that as well. Is there any way to do it using
foreach method.
I mean like:-
1.upto 10 do { |i|
"array#i" = []
}
Sandip Ransing wrote in post #973867:
> array1= array2... = array10 = []
>
> On Tue, Jan 11, 2011 at 12:33 PM, Hemant Bhargava
> <[email protected]>wrote:
>
>>
>> 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
--
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].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.