From 96311d13c2124a187fa85fcac8767dc01d5df3ad Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Sat, 4 Jul 2026 20:38:31 +0900 Subject: [PATCH] [DOC] Add missing half kwags to Numeric#round --- numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/numeric.c b/numeric.c index f4dc0f8927baed..90270617c18843 100644 --- a/numeric.c +++ b/numeric.c @@ -2664,7 +2664,7 @@ num_ceil(int argc, VALUE *argv, VALUE num) /* * call-seq: - * round(digits = 0) -> integer or float + * round(digits = 0, half: :up) -> integer or float * * Returns +self+ rounded to the nearest value with * a precision of +digits+ decimal digits.