Skip to content

Commit

Permalink
[DOC] Add nodoc for GC.remove_stress_to_class
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
peterzhu2118 committed Apr 5, 2024
1 parent 46ebc48 commit 1f84e10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gc.c
Expand Up @@ -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[, ...])
*
Expand Down

0 comments on commit 1f84e10

Please sign in to comment.