summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 11:46:02 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 11:46:02 (GMT)
commit77a99fd4d5c84aff202a9c9799bb8e074d4e7196 (patch)
tree710ebff765f375e405d9b2be9c85def22ee0fe9b /numeric.c
parenta0ab5a325b155ee6ce2506b5378e5cf85d117d22 (diff)
Update rdoc of Integer#modulo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/numeric.c b/numeric.c
index ed34a0d..4f43a75 100644
--- a/numeric.c
+++ b/numeric.c
@@ -3506,12 +3506,13 @@ rb_int_idiv(VALUE x, VALUE y)
/*
* 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.
*/