public bool RemoveMethod(string/*!*/ name) { if (RemoveMethodNoEvent(name)) { MethodRemoved(name); return true; } return false; }
public static RubyModule /*!*/ RemoveMethod(RubyModule /*!*/ self, [DefaultProtocol] string /*!*/ methodName) { if (!self.RemoveMethod(methodName)) { throw RubyExceptions.CreateUndefinedMethodError(self, methodName); } return(self); }