m = { :key1 => 'value1', :key2 => 'value2', :key3 => 'value3' }values = m.valuesvalues[rand(values.size)] # => "value1"