numeric.rb: add parentheses to block.call

added parentheses to block.call where the return value is used.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-12-04 20:47:39 +09:00
parent 1b85ad2bfe
commit 6b2d0b3e0f
+1 -1
View File
@@ -74,7 +74,7 @@ class Integer
i = 0
while i < self
block.call i
block.call(i)
i += 1
end
self