title: Change Hash keys from String to Symbol
body: <p>I need to change the keys of a Hash, I am currently given the key as a String and I need it to be the normal key of a hash. I leave the example below.</p>
  
  <p>I have tried some methods that I found as Symbolize_keys, but they have not worked, says that the method does not exist and I use it as it is in Ruby's Apidock.</p>
  
  <p>i have this: </p>
  
  <pre><code>hash = {"name"=&gt;"Jhon","lastname"=&gt;"Doe"}
  </code></pre>
  
  <p>and i need to convert This:</p>
  
  <pre><code>hash = {:name=&gt;"Jhon",:lastname=&gt;"Doe"}
  </code></pre>
  
  <p>Thanks Friends</p>