[前][次][番号順一覧][スレッド一覧]

ruby-changes:33298

From: zzak <ko1@a...>
Date: Fri, 21 Mar 2014 16:33:09 +0900 (JST)
Subject: [ruby-changes:33298] zzak:r45377 (trunk): * gc.c: [DOC] Fix call-seq for GC.start by @jasonrclark [Fixes GH-572]

zzak	2014-03-21 16:33:03 +0900 (Fri, 21 Mar 2014)

  New Revision: 45377

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45377

  Log:
    * gc.c: [DOC] Fix call-seq for GC.start by @jasonrclark [Fixes GH-572]
      https://github.com/ruby/ruby/pull/572 [ci skip]

  Modified files:
    trunk/ChangeLog
    trunk/gc.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45376)
+++ ChangeLog	(revision 45377)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Mar 21 16:31:56 2014  Zachary Scott  <e@z...>
+
+	* gc.c: [DOC] Fix call-seq for GC.start by @jasonrclark [Fixes GH-572]
+	  https://github.com/ruby/ruby/pull/572
+
 Thu Mar 20 11:37:28 2014  James Edward Gray II  <james@g...>
 
 	* lib/csv.rb: Fixed a broken regular expression that was causing
Index: gc.c
===================================================================
--- gc.c	(revision 45376)
+++ gc.c	(revision 45377)
@@ -5138,14 +5138,14 @@ Init_stack(volatile VALUE *addr) https://github.com/ruby/ruby/blob/trunk/gc.c#L5138
  *  call-seq:
  *     GC.start                     -> nil
  *     GC.garbage_collect           -> nil
- *     ObjectSpace.garbage_collect  -> nil
- *     GC.start(full_mark: false)   -> nil
+ *     GC.start(full_mark: true, immediate_sweep: true)           -> nil
+ *     GC.garbage_collect(full_mark: true, immediate_sweep: true) -> nil
  *
  *  Initiates garbage collection, unless manually disabled.
  *
  *  This method is defined with keyword arguments that default to true:
  *
- *     def GC.start(full_mark: true, immediate_sweep: true) end
+ *     def GC.start(full_mark: true, immediate_sweep: true); end
  *
  *  Use full_mark: false to perform a minor GC.
  *  Use immediate_sweep: false to defer sweeping (use lazy sweep).

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]