From 7cc41d5bc0e1a37a5c835097db9770df754d39ea Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 6 Dec 2025 21:54:36 +0900 Subject: [PATCH] mruby-hash-ext: standardize block parameter spacing changed block spacing from method{ to method { for consistency. Co-authored-by: Claude --- mrbgems/mruby-hash-ext/mrblib/hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrbgems/mruby-hash-ext/mrblib/hash.rb b/mrbgems/mruby-hash-ext/mrblib/hash.rb index e6cc5ebf2..e11559872 100644 --- a/mrbgems/mruby-hash-ext/mrblib/hash.rb +++ b/mrbgems/mruby-hash-ext/mrblib/hash.rb @@ -32,7 +32,7 @@ class Hash other = others[i] i += 1 raise TypeError, "Hash required (#{other.class} given)" unless Hash === other - other.each_key{|k| + other.each_key {|k| self[k] = (self.has_key?(k))? block.call(k, self[k], other[k]): other[k] } end