title: Add a value to an existing Key value pair ruby hash
body: <p>My ruby script filters a log and generates a hash like this</p>
  
  <pre><code>scores = {"Rahul" =&gt; "273", "John"=&gt; "202", "coventry" =&gt; "194"}
  </code></pre>
  
  <p>by skipping  multiple values for a key which is obvious</p>
  
  <p>log file will be like this</p>
  
  <blockquote>
    <p>Rahul has 273 Rahul has 217 John has 202 Coventry has 194</p>
  </blockquote>
  
  <p>Is it Possible to generate something like this</p>
  
  <pre><code>scores = {"Rahul" =&gt; "273", "Rahul" =&gt;"217",
            "John"=&gt; "202", "coventry" =&gt; "194"}
  
  scores = {"Rahul" =&gt; "273","217",
            "John"=&gt; "202", "coventry" =&gt; "194"}
  </code></pre>
  
  <p>Is there a way to forcefully write into a hash even though the key is already existing in the hash</p>
  
  <p>I will be grateful to any help or suggestions</p>