public static RubyModule /*!*/ UndefineMethod(RubyModule /*!*/ self, [DefaultProtocol] string /*!*/ methodName)
{
RubyMemberInfo method = self.ResolveMethod(methodName, true);
if (method == null)
{
throw RubyExceptions.CreateUndefinedMethodError(self, methodName);
}
self.UndefineMethod(methodName);
return(self);
}