Unsure what I'm doing wrong here. Just trying to make the frequencies hash. The error code reads "Oops, try again. It looks like frequencies isn't a hash."
puts "Enter the text"
text = gets.chomp
words = text.split(" ")
frequencies = Hash.new(0)
Any help would be appreciated, I'm sure I'm overlooking something simple.