From: Siratinee Sukachai Date: 2011-04-20T13:02:19+09:00 Subject: Can I check contain value in hash? I have hash which is contain list of string value. I need to check is the value already contained in the key. Add add the value to the key if the key is not contained that value. Can I do that? like in c# if(!dict[key].contains(value)) { dict[key].add(value); } -- Posted via http://www.ruby-forum.com/.