At Wed, 25 Apr 2001 01:28:36 +0900,
Dave Thomas <Dave / PragmaticProgrammer.com> wrote:
> > Ok, this may be a dumb question, but, is it possible to insert into an
> > array.
> > 
> > EG,
> >  a = [1, 2]
> >  a.insert(1,3) => [1,3,2]
> 
>   a = [1, 2]		# => [1, 2]
>   a[1,0] = 3		# => [1, 3, 2]

Some people asked the same question. Is it a bad idea to provide
Array#insert?
# There is another reason - Array#[]= is not efficient for one
# object insertion.

Shugo