aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 12:59:59 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 12:59:59 +0000
commitb530f586472e9a51870db581775a69d08ffe90db (patch)
tree8d4db095e78f8097af5bf1b00c85d5ec9cb3e491
parent02107a91c8b652a6572402f92c20bee10c30a81e (diff)
downloadruby-b530f586472e9a51870db581775a69d08ffe90db.tar.gz
Update rdoc of Integer#[] (fix -> int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 612a062c73..00ba81630e 100644
--- a/numeric.c
+++ b/numeric.c
@@ -4035,10 +4035,10 @@ rb_int_rshift(VALUE x, VALUE y)
/*
* 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:
*