From: matz@... (Yukihiro Matsumoto) Date: 2003-07-15T14:27:32+09:00 Subject: Re: Custom method_missing doesn't trap super call In message "Re: Custom method_missing doesn't trap super call" on 03/07/15, Richard Dale writes: |Perhaps I should explain more what about I was trying to do - I didn't want |to over complicate the problem description. I'm working on bindings to a |C++ gui library Qt, and use a C method_missing (in the C 'Qt' extension) to |forward the calls to the C++ methods from ruby. When virtual methods are |overriden in ruby, like QPushButton::paintEvent(), it uses rb_respond_to() |to see whether or not there is a ruby version of the method. I understand what you want. But why use method_missing? If Qt has finite set of methods, why don't you define wrapper methods just as Swig does? This does not mean I'm refusing "method_missing for super". I'm still thinking. matz.