summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
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.
*/