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