[#3006] CVS repository — "Eugene Scripnik" <hoaz@...>

Hello.

21 messages 2004/06/16
[#3008] Re: CVS repository — ts <decoux@...> 2004/06/16

>>>>> "E" == Eugene Scripnik <hoaz@gala.net> writes:

[#3009] Re: CVS repository — Michal Rokos <michal@...> 2004/06/16

Hi!

[#3057] Ruby 1.8.2 to be released. — matz@... (Yukihiro Matsumoto)

Hi,

20 messages 2004/06/23

Re: [Patch] Array#shift(n)

From: Michal Rokos <michal@...>
Date: 2004-06-14 14:31:15 UTC
List: ruby-core #2988
On Monday 14 of June 2004 16:13, Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [Patch] Array#shift(n)"
>
>     on 04/06/14, nobu.nokada@softhome.net <nobu.nokada@softhome.net> 
writes:
> |> - move alloc behind checks in ary_new() (some obj alloc time could
> |> be spared when args are wrong)
> |> - make Ary#shift take arg to behave as Ary#unshift
> |
> |And also as #first and #last (except that these always return
> |an instance of Array)?
> |
> |> - correct doc for Ary#first(n) and Ary#last(n)
> |> - change Ary#select to not accept any arg (as it is, but has been
> |> marked as -1)
> |>
> |> Is that good?
> |
> |I think so.  #first and #last may be possible to use
> |ary_make_shared() too?
>
> Accepted, along with pop(n).  You can submit the patch to the HEAD,
> nobu.

/me have commit account as well. :)

	Michal

In This Thread