From: Dave Thomas Date: 2001-01-15T08:40:03+09:00 Subject: [ruby-talk:9312] Re: Redefining singleton methods & C - function pointers "Christoph Rippel" writes: > > That would make object instantiation somewhat difficult.... > Sorry I am probably (even) slow(er then usual) today. Could > you be more specific? I don't see what problem you would > get with object instantiation if #append_features would > adapt the behavior of #new > A = Class.new > B = Class.new A > def A.s > p id > end > A.s # 83990138 > > B.s # 83990118 Simply that to be consistent, .new is a singleton method, so the behavior of .new itself might be tricky if you allowed the inheritance of singletons methods. Do you have a particular problem in mind? Dave