Hi.If you extend a class like this:
MyClass.extend( MyModule )
or this:
class MyClass
class << self
include MyModule
end
end
it won't show up in a call to MyClass.included_modules().
Does anyone know a simple way to see if a class has been extended by a given
module?
(Other than testing the class for the methods in the module.)
Cheers,
Doug.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---