From c6501cccb1c3ae0bcbe60444b003841cd410e177 Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 22 Sep 2016 04:06:53 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ gc.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 448ad2321a..da81dc4606 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 22 13:00:04 2016 Kazuhiro NISHIYAMA + + * gc.c (gc_start_internal): [DOC] methods without arguments + like r56194. [Bug #12777] + Wed Sep 21 17:43:53 2016 NARUSE, Yui * process.c (InitVM_process): Support CLOCK_MONOTONIC_RAW_APPROX, 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