From: matz@... (Yukihiro Matsumoto) Date: 2001-10-29T14:15:17+09:00 Subject: [ruby-talk:23709] Re: ref. constructors and new (was: Re: class Foo does not call Class.new?) Hi, In message "[ruby-talk:23702] Re: ref. constructors and new (was: Re: class Foo does not call Class.new?)" on 01/10/29, Dave Thomas writes: |> They won't (at least String won't). It will cause infinite loop. |> |> "abc" -> String.new("abc") -> String.new(String.new("abc")) ... | |But String.new("abc") would become String.new(aNewStringObject), |wouldn't it? The literal only gets converted once. I'm not sure I get what you mean. Then how literal strings are created, without String.new? matz.