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

ruby-changes:42709

From: akr <ko1@a...>
Date: Tue, 26 Apr 2016 20:33:04 +0900 (JST)
Subject: [ruby-changes:42709] akr:r54783 (trunk): [DOC] update Integer#<< doc.

akr	2016-04-26 21:29:41 +0900 (Tue, 26 Apr 2016)

  New Revision: 54783

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

  Log:
    [DOC] update Integer#<< doc.

  Modified files:
    trunk/bignum.c
    trunk/numeric.c
Index: bignum.c
===================================================================
--- bignum.c	(revision 54782)
+++ bignum.c	(revision 54783)
@@ -6711,13 +6711,6 @@ rb_big_xor(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/bignum.c#L6711
     return bignorm(z);
 }
 
-/*
- * call-seq:
- *     big << numeric   ->  integer
- *
- * Shifts big left _numeric_ positions (right if _numeric_ is negative).
- */
-
 VALUE
 rb_big_lshift(VALUE x, VALUE y)
 {
Index: numeric.c
===================================================================
--- numeric.c	(revision 54782)
+++ numeric.c	(revision 54783)
@@ -3963,9 +3963,9 @@ fix_lshift(long val, unsigned long width https://github.com/ruby/ruby/blob/trunk/numeric.c#L3963
 
 /*
  * call-seq:
- *   fix << count  ->  integer
+ *   int << count  ->  integer
  *
- * Shifts +fix+ left +count+ positions, or right if +count+ is negative.
+ * Shifts +int+ left +count+ positions, or right if +count+ is negative.
  */
 
 static VALUE

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

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