From: "Florian G. Pflug" Date: 2001-08-16T12:53:12+09:00 Subject: [ruby-talk:19857] Re: Why not?: Assigning to self On Thu, Aug 16, 2001 at 11:05:59AM +0900, Yukihiro Matsumoto wrote: > This is the case "become" safe. But I can think of many examples of > crashes caused by "become". Even simple "Array.become Hash" would > cause segmentation fault. So, are there only problems when objects of class "class" are involved (you can do really stupid things like "Array.become Hash.new"). If I just use become on "normal" objects (no classes, no modules,...), do I still have to expect problems? Yes, I know a "become" which may not be used on all objects is far from being orthogonal, but maybe still usefull greetings, Florian Pflug