Forum: Ruby Re: Class Methods

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Helge E. (Guest)
on 2006-05-08 17:07
(Received via mailing list)
One solution would be to use ruby-array's "set-like" functionality:

onlyClassBMethods = ClassB.instance_methods - ClassA.instance_methods

Don't know if this is what you're looking for?

Helge E.
Michael G. (Guest)
on 2006-05-08 17:10
(Received via mailing list)
Edwin, Helge - thank you.

I can't believe I didn't put that together.

Have a great day.
This topic is locked and can not be replied to.