From 2197a587fb4d6405adc425adfa81bf06922c550b Mon Sep 17 00:00:00 2001
From: Vitor Oliveira <vbrazo@gmail.com>
Date: Sat, 10 Apr 2021 10:15:00 -0700
Subject: [PATCH] Update arrays_intersection.rb

---
 data_structures/hash_table/arrays_intersection.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/data_structures/hash_table/arrays_intersection.rb b/data_structures/hash_table/arrays_intersection.rb
index 7d270fc..f100e37 100644
--- a/data_structures/hash_table/arrays_intersection.rb
+++ b/data_structures/hash_table/arrays_intersection.rb
@@ -32,7 +32,7 @@ def arrays_intersection(arr1, arr2, arr3)
   add_to_hash(arr2, hash)
   add_to_hash(arr3, hash)
 
-  hash.select { |_key, value| value == 3 }.keys
+  hash.select { |key, value| value == 3 }.keys
 end
 
 def add_to_hash(arr, hash)