From: matz@... (Yukihiro Matsumoto) Date: 2001-10-30T13:20:14+09:00 Subject: [ruby-talk:23800] Re: ref. constructors and new (was: Re: class Foo does not call Class.new?) Hi, In message "[ruby-talk:23722] Re: ref. constructors and new (was: Re: class Foo does not call Class.new?)" on 01/10/29, ts writes: |>>>>> "Y" == Yukihiro Matsumoto writes: | |Y> I'm not sure I get what you mean. Then how literal strings are |Y> created, without String.new? | | I think, not really sure, that he want something like this Maybe. I think what he wants must be "all string creation done via String.new". In theory, it's possible in a way described in [ruby-talk:23727]. But I'm not sure how serious he was. For me, it sounds like mere possibility. I consider "Class#allocate" to be the solution for this request (String#allocate can be used as creation hook). matz.