From 1b85ad2bfe25b55c0711aa2c99388586e789cb27 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Thu, 4 Dec 2025 20:47:14 +0900 Subject: [PATCH] hash.rb: add parentheses to block.call added parentheses to block.call where the return value is used. Co-authored-by: Claude --- mrblib/hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrblib/hash.rb b/mrblib/hash.rb index 1533b1cd7..792283900 100644 --- a/mrblib/hash.rb +++ b/mrblib/hash.rb @@ -59,7 +59,7 @@ class Hash len = self.size i = 0 while i < len - block.call [keys[i], vals[i]] + block.call([keys[i], vals[i]]) i += 1 end self