mruby-hash-ext: standardize block parameter spacing

changed block spacing from method{ to method { for consistency.

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Yukihiro "Matz" Matsumoto
2025-12-06 21:54:36 +09:00
parent 93cdb62985
commit 7cc41d5bc0
+1 -1
View File
@@ -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