とうあ。

irb> abc = {"a"=>1,"b"=>2,"c"=>3,"d"=>2,"e"=>1,"f"=>2,"g"=>3,"h"=>2}
irb> p abc.dup.reject{|k,v| v != 2}.keys
["b", "d", "f", "h"]