From: David Alan Black Date: 2001-10-26T06:38:58+09:00 Subject: [ruby-talk:23360] Re: class Foo does not call Class.new? Hello -- On Fri, 26 Oct 2001, Yukihiro Matsumoto wrote: > Hi, > > In message "[ruby-talk:23318] class Foo does not call Class.new?" > on 01/10/26, Brian Marick writes: > > |It seems that this: > | class Foo > | end > |does not invoke Class.new in Ruby 1.6.3. Is that right? > > Right. > > |Does it in 1.7? > > 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? David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav