01-21-2010, 06:26 PM
Interesting.
So by using:
method_defined?(wy_main)
... we can perform a check for an aliased method assuming we know that the actual alias statement looks for the 'new' method name rather than the name of the original method.
Nice.
So by using:
method_defined?(wy_main)
... we can perform a check for an aliased method assuming we know that the actual alias statement looks for the 'new' method name rather than the name of the original method.
Nice.