From b61e1508d1350b1a9c6ec074d869a2d539260d5d Mon Sep 17 00:00:00 2001 From: Maciej Mensfeld Date: Tue, 12 Sep 2023 12:49:17 +0200 Subject: [PATCH] remarks --- lib/karafka/web/ui/lib/hash_proxy.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/karafka/web/ui/lib/hash_proxy.rb b/lib/karafka/web/ui/lib/hash_proxy.rb index a9fccc76..8c07f12c 100644 --- a/lib/karafka/web/ui/lib/hash_proxy.rb +++ b/lib/karafka/web/ui/lib/hash_proxy.rb @@ -24,6 +24,9 @@ def [](key) @hash[key] end + # Assigns a new value to the key + # @param key [Object] hash key for assignment + # @param value [Object] anything we want to assign def []=(key, value) @hash[key] = value end