From: Simon Strandgaard <0bz63fz3m1qt3001@...> Date: 2003-07-10T05:55:03+09:00 Subject: Re: [bug] Array#unshift() zero arguments On Thu, 10 Jul 2003 06:28:32 +0900, Yukihiro Matsumoto wrote: > > In message "Re: [bug] Array#unshift() zero arguments" > on 03/07/10, "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> writes: > > |> Also unshifting without arguments clobbers last element. > |> > |> $ ruby -e 'p [1].unshift()' > |> [nil] > | > |I am curious, are these issues about #unshift being resolved ? > > Fixed. > > Tue Jun 24 02:40:09 2003 Nobuyoshi Nakada > > * array.c (rb_ary_unshift_m): need to check number of arguments. > [ruby-talk:74189] Great... Thanks Nobu+Matz :-) -- Simon Strandgaard