[#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: nobu.nokada@...
Date: 2004-06-14 12:51:41 UTC
List: ruby-core #2985
Hi,

At Mon, 14 Jun 2004 20:30:23 +0900,
Michal Rokos wrote in [ruby-core:02982]:
> I've changed:
> - 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?

-- 
Nobu Nakada

In This Thread