I have a hash which contains values such as....
EXAMPLE = {
"101" => "SO01",
"102" => "SO02",
"103" => "SO03",
"105" => %w(S005 SO04)
}
I want to search the hash for say SO04 and get back "105", or "SO03" and get back "103". I'm sure there is a good way to do this but it's slipping my mind currently. I had been simply using EXAMPLE.key() but that's not going to cut it now that I realize there are arrays in there.