summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 12:59:59 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-27 12:59:59 (GMT)
commitb530f586472e9a51870db581775a69d08ffe90db (patch)
tree8d4db095e78f8097af5bf1b00c85d5ec9cb3e491 /numeric.c
parent02107a91c8b652a6572402f92c20bee10c30a81e (diff)
Update rdoc of Integer#[] (fix -> int)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numeric.c b/numeric.c
index 612a062..00ba816 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:
*