From 722597840f34a7ea841d43adc7a33ee5aab12878 Mon Sep 17 00:00:00 2001 From: Elisha <138951172+elishamutang@users.noreply.github.com> Date: Tue, 25 Jun 2024 09:07:19 +0800 Subject: [PATCH] Added ? to #has method Co-authored-by: Josh Smith --- ruby/computer_science/project_hash_map.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/computer_science/project_hash_map.md b/ruby/computer_science/project_hash_map.md index 72636447b65..106a0731831 100644 --- a/ruby/computer_science/project_hash_map.md +++ b/ruby/computer_science/project_hash_map.md @@ -106,7 +106,7 @@ You already know the magic behind hash maps, now it's time to write your own imp 1. With your new hash map, try overwriting a few nodes using `#set(key, value)`. Again, this should only over-write existing `values` of your nodes. -1. Test the other methods of your hash maps such as `#get(key)`, `#has(key)`, `#remove(key)`, `#length`, `#clear`, `#keys`, `#values`, and `#entries` to check if they are still working as expected after expanding your hash map. +1. Test the other methods of your hash maps such as `#get(key)`, `#has?(key)`, `#remove(key)`, `#length`, `#clear`, `#keys`, `#values`, and `#entries` to check if they are still working as expected after expanding your hash map. #### Extra Credit