[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.
This commit is contained in:
Peter Zhu 2024-04-05 13:45:12 -04:00
parent f87e60f1f4
commit 46ebc48e62

3
gc.c
View File

@ -13500,7 +13500,8 @@ rb_gcdebug_sentinel(VALUE obj, const char *name)
#endif /* GC_DEBUG */
/*
/* :nodoc:
*
* call-seq:
* GC.add_stress_to_class(class[, ...])
*