From 46ebc48e62e80426da78cdec6d2fbcf267b0ddcf Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Fri, 5 Apr 2024 13:45:12 -0400 Subject: [PATCH] [DOC] Add nodoc for GC.add_stress_to_class This method is only available when compiled with GC_DEBUG_STRESS_TO_CLASS is enabled, so it's not available on release builds of Ruby. --- gc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 0edd5ed192..8c5895c7d9 100644 --- a/gc.c +++ b/gc.c @@ -13500,7 +13500,8 @@ rb_gcdebug_sentinel(VALUE obj, const char *name) #endif /* GC_DEBUG */ -/* +/* :nodoc: + * * call-seq: * GC.add_stress_to_class(class[, ...]) *