aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-20 14:02:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-20 14:02:53 +0000
commit664dca00b9d08e3669ec6c2ff4a97b0ef97edfaa (patch)
tree9da9426d3f0789caff7b8f90807b18922a26228f /gc.c
parent5777ff7949ef075f3fe3ba0c002be3ad433fb47f (diff)
downloadruby-664dca00b9d08e3669ec6c2ff4a97b0ef97edfaa.tar.gz
gc.c: fix rdoc of garbage_collect [ci skip]
* gc.c (gc_start_internal): [DOC] add ObjectSpace.garbage_collect and fix GC#garbage_collect. [Bug #12777] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56194 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 c90fc71c0d..2eb049184c 100644
--- a/gc.c
+++ b/gc.c
@@ -6576,7 +6576,8 @@ Init_stack(volatile VALUE *addr)
* GC.start -> nil
* GC.garbage_collect -> nil
* GC.start(full_mark: true, immediate_sweep: true) -> nil
- * GC.garbage_collect(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
*
* Initiates garbage collection, unless manually disabled.
*