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

IncludesModule() private method

private IncludesModule ( RubyModule self, [ other ) : bool
self RubyModule
other [
return bool
        public static bool IncludesModule(RubyModule/*!*/ self, [NotNull]RubyModule/*!*/ other) {
            if (other.IsClass) {
                throw RubyExceptions.CreateTypeError("wrong argument type Class (expected Module)");
            }

            return other != self && self.HasAncestor(other);
        }