title: checking if all values of a hash are correct values (from a predefined value set) in ruby
body: <p>I have a hash table with multiple values being passed to a function I dont know the names of the keys but i know that the values of the keys must be equal to characters A S or X.
  How can i easily check that all values in the hash table are equal to those characters?</p>