From: David Alan Black Date: 2001-10-27T10:15:39+09:00 Subject: [ruby-talk:23578] Re: class Foo does not call Class.new? Hello -- On Fri, 26 Oct 2001, Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:23360] Re: class Foo does not call Class.new?" > on 01/10/26, David Alan Black writes: > > |> No. But in 1.7.1, I defined something I call "allocation framework", > |> which is > |> > |> * basically, no "new" overriding (that allows your Class#new trick > |> work in many cases). > | > |Is this going to apply to [] not using Array.new, and "" not using > |String.new? > > They now use Array.allocate and String.allocate respectively. I can't find any #allocate methods in the latest CVS files. Can you point me in the right direction, or is this something not yet available? Thanks -- David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav