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

ruby-changes:42811

From: kazu <ko1@a...>
Date: Mon, 2 May 2016 19:49:27 +0900 (JST)
Subject: [ruby-changes:42811] kazu:r54885 (trunk): Update rdoc of Integer#modulo [ci skip]

kazu	2016-05-02 20:46:02 +0900 (Mon, 02 May 2016)

  New Revision: 54885

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54885

  Log:
    Update rdoc of Integer#modulo [ci skip]

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 54884)
+++ numeric.c	(revision 54885)
@@ -3506,12 +3506,13 @@ rb_int_idiv(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/numeric.c#L3506
 
 /*
  *  Document-method: Fixnum#%
+ *  Document-method: Integer#%
  *  Document-method: Integer#modulo
  *  call-seq:
- *    fix % other        ->  real
- *    fix.modulo(other)  ->  real
+ *    int % other        ->  real
+ *    int.modulo(other)  ->  real
  *
- *  Returns +fix+ modulo +other+.
+ *  Returns +int+ modulo +other+.
  *
  *  See Numeric#divmod for more information.
  */

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

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