summaryrefslogtreecommitdiff
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index 53a4450d70..42355d7760 100644
--- a/numeric.c
+++ b/numeric.c
@@ -2449,7 +2449,7 @@ rb_int_truncate(VALUE num, int ndigits)
/*
* call-seq:
- * round(ndigits = 0, half: :up]) -> integer or float
+ * round(ndigits = 0, half: :up) -> integer or float
*
* Returns +self+ rounded to the nearest value with
* a precision of +ndigits+ decimal digits.