[Kde-bindings] [Bug 105772] (ruby) request to have the Qt/KDE methods appear in object.methods and .respond_to?
Richard_Dale at tipitina.demon.co.uk
Tue May 17 19:16:33 UTC 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
------- Additional Comments From Richard_Dale tipitina demon co uk 2005-05-17 21:16 -------
On Tuesday 17 May 2005 20:25, GÃ¡bor wrote:
[bugs.kde.org quoted mail]
Yes, but it needs thinking about - what if method_missing was implemented in
terms of respond_to?, and whether or not the C function rb_respond_to() takes
into account any subclasses overriding the 'responds_to?' method. I haven't
done any tests yet to find out about this stuff.
The Smoke library has been optimized for making queries on the name of a
method along with the type signature of the args, but 'respond_to?' ignores
the type signature of the args - maybe this kind of access can be optimized
in a Qt 4.0/KDE 4.0 version of QtRuby.
More information about the Kde-bindings