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

ruby-changes:24549

From: ktsj <ko1@a...>
Date: Thu, 2 Aug 2012 23:38:57 +0900 (JST)
Subject: [ruby-changes:24549] ktsj:r36600 (trunk): * eval.c (rb_mod_refine): fix documentation.

ktsj	2012-08-02 23:38:48 +0900 (Thu, 02 Aug 2012)

  New Revision: 36600

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

  Log:
    * eval.c (rb_mod_refine): fix documentation.
      Module#refine does not return self, but module.

  Modified files:
    trunk/eval.c

Index: eval.c
===================================================================
--- eval.c	(revision 36599)
+++ eval.c	(revision 36600)
@@ -1163,9 +1163,11 @@
 
 /*
  *  call-seq:
- *     refine(klass) { block }   -> self
+ *     refine(klass) { block }   -> module
  *
  *  Refine <i>klass</i> in the receiver.
+ *
+ *  Returns an overlayed module.
  */
 
 static VALUE

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

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