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); }