aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 11:46:02 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-02 11:46:02 +0000
commit76a28bcd9a381ed9d9866df5ce296755860b69e5 (patch)
tree710ebff765f375e405d9b2be9c85def22ee0fe9b /numeric.c
parentc69f292f0772c69e0d12b735da218391f3338d17 (diff)
downloadruby-76a28bcd9a381ed9d9866df5ce296755860b69e5.tar.gz
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 ed34a0d2ec..4f43a754c7 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.
*/