From: Christoph Rippel Date: 2001-01-15T08:40:02+09:00 Subject: [ruby-talk:9310] Re: Redefining singleton methods & C - function pointers "Dave Thomas" wrote in message news:m2k87z4dj9.fsf@zip.local.thomases.com... ... > > Right now I can't think of a way to accurately > > match the behavior of something like > > > > class A > > end > > def A.s > > id > > end > > class B < A > > end > > p B.s != A.s # true .. > > 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 Christoph