[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
Родитель f87e60f1f4
Коммит 46ebc48e62
1 изменённых файлов: 2 добавлений и 1 удалений

3
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[, ...])
*