IronRuby.Builtins.RubyModule.RemoveMethod C# (CSharp) Метод

RemoveMethod() публичный Метод

public RemoveMethod ( string name ) : bool
name string
Результат bool
        public bool RemoveMethod(string/*!*/ name) {
            if (RemoveMethodNoEvent(name)) {
                MethodRemoved(name);
                return true;
            }
            return false;
        }

Usage Example

Пример #1
0
 public static RubyModule /*!*/ RemoveMethod(RubyModule /*!*/ self, [DefaultProtocol] string /*!*/ methodName)
 {
     if (!self.RemoveMethod(methodName))
     {
         throw RubyExceptions.CreateUndefinedMethodError(self, methodName);
     }
     return(self);
 }
All Usage Examples Of IronRuby.Builtins.RubyModule::RemoveMethod
RubyModule