IronRuby.Builtins.ModuleOps.ProtectedMethodDefined C# (CSharp) Method

ProtectedMethodDefined() private method

private ProtectedMethodDefined ( RubyModule self, [ methodName ) : bool
self RubyModule
methodName [
return bool
        public static bool ProtectedMethodDefined(RubyModule/*!*/ self, [DefaultProtocol, NotNull]string/*!*/ methodName) {
            RubyMemberInfo method = self.ResolveMethod(methodName, VisibilityContext.AllVisible).Info;
            return method != null && method.Visibility == RubyMethodVisibility.Protected;
        }