aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-22 04:06:53 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-22 04:06:53 +0000
commitd389696be85fcc78b574eff42202cc385a3d81f5 (patch)
treedafe62c753ca117536652bba377d92db388dc6ed /gc.c
parent79b62508f981a6e4dab2a83e73a266bb510628eb (diff)
downloadruby-d389696be85fcc78b574eff42202cc385a3d81f5.tar.gz
gc.c: fix rdoc of garbage_collect [ci skip]
* gc.c (gc_start_internal): [DOC] methods without arguments like r56194. [Bug #12777] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 2eb049184c..770564126b 100644
--- a/gc.c
+++ b/gc.c
@@ -6574,7 +6574,8 @@ Init_stack(volatile VALUE *addr)
/*
* call-seq:
* GC.start -> nil
- * GC.garbage_collect -> nil
+ * ObjectSpace.garbage_collect -> nil
+ * include GC; garbage_collect -> nil
* GC.start(full_mark: true, immediate_sweep: true) -> nil
* ObjectSpace.garbage_collect(full_mark: true, immediate_sweep: true) -> nil
* include GC; garbage_collect(full_mark: true, immediate_sweep: true) -> nil