M
Mike Hall
Is there a way to find out the methods that a given class/modules provides,
without including the methods from Object, Kernel, etc, and without deleting
any commonly named methods?
For example, the Dir class, (Dir.methods - Object.methods) will remove the 'new'
method, and the 'open' method gets tossed if we subract out the Kernel.methods.
Is this possible with the current set of 'public_methods' and 'private_methods' et.al?
Thanks!
without including the methods from Object, Kernel, etc, and without deleting
any commonly named methods?
For example, the Dir class, (Dir.methods - Object.methods) will remove the 'new'
method, and the 'open' method gets tossed if we subract out the Kernel.methods.
Is this possible with the current set of 'public_methods' and 'private_methods' et.al?
Thanks!