From 6b2d0b3e0f4d0fc04e468260a9c672b830407cd9 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 4 Dec 2025 20:47:39 +0900 Subject: [PATCH] numeric.rb: add parentheses to block.call added parentheses to block.call where the return value is used. Co-authored-by: Claude --- mrblib/numeric.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrblib/numeric.rb b/mrblib/numeric.rb index 10e6f55ad..322afd409 100644 --- a/mrblib/numeric.rb +++ b/mrblib/numeric.rb @@ -74,7 +74,7 @@ class Integer i = 0 while i < self - block.call i + block.call(i) i += 1 end self