[DOC] Add nodoc for GC.remove_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:46:47 -04:00
parent 46ebc48e62
commit 1f84e1099e

3
gc.c
View File

@ -13520,7 +13520,8 @@ rb_gcdebug_add_stress_to_class(int argc, VALUE *argv, VALUE self)
return self;
}
/*
/* :nodoc:
*
* call-seq:
* GC.remove_stress_to_class(class[, ...])
*