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

ruby-changes:42723

From: kazu <ko1@a...>
Date: Wed, 27 Apr 2016 21:03:23 +0900 (JST)
Subject: [ruby-changes:42723] kazu:r54797 (trunk): Update rdoc of Integer#[] (fix -> int)

kazu	2016-04-27 21:59:59 +0900 (Wed, 27 Apr 2016)

  New Revision: 54797

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

  Log:
    Update rdoc of Integer#[] (fix -> int)

  Modified files:
    trunk/numeric.c
Index: numeric.c
===================================================================
--- numeric.c	(revision 54796)
+++ numeric.c	(revision 54797)
@@ -4035,10 +4035,10 @@ rb_int_rshift(VALUE x, VALUE y) https://github.com/ruby/ruby/blob/trunk/numeric.c#L4035
 /*
  *  Document-method: Integer#[]
  *  call-seq:
- *     fix[n]  ->  0, 1
+ *     int[n]  ->  0, 1
  *
  *  Bit Reference---Returns the +n+th bit in the binary representation of
- *  +fix+, where <code>fix[0]</code> is the least significant bit.
+ *  +int+, where <code>int[0]</code> is the least significant bit.
  *
  *  For example:
  *

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

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