From: ts Date: 2002-04-13T01:47:27+09:00 Subject: Re: Idea for a new shorthand >>>>> "P" == Paul Brannan writes: P> If I change line 6709 of eval.c from: P> if (!((TYPE(data->oklass) == T_MODULE) ? P> rb_obj_is_kind_of(recv, data->oklass) : P> rb_obj_is_instance_of(recv, data->oklass))) { P> to: P> if(!rb_obj_is_kind_of(recv, data->oklass)) { Try this with your modified version of ruby class Base; def foo; puts "Base#foo"; end; end; class Derived < Base; undef foo; end d = Derived.new Base.instance_method(:foo).bind(d).call() d.foo Guy Decoux