Hash

This could also be: 
raise "Key must be a String." unless key.is_a?(String)