N
Noé Alejandro
Hi all.
I have the next problem.
a = %w(a b)
z = %w(1)
a.insert(1, z)
puts a
a
1
b
z.clear
puts a
a
b
Oopss... where "1" is? what happened? what can I do to keep "1" when I
clear the array (z)?
Thanks a lot.
I have the next problem.
a = %w(a b)
z = %w(1)
a.insert(1, z)
puts a
a
1
b
z.clear
puts a
a
b
Oopss... where "1" is? what happened? what can I do to keep "1" when I
clear the array (z)?
Thanks a lot.