my program works fine with this hash
hash = 
    {
    'keyone'=> 'valueone',
    'keytwo'=> 'valuetwo',
    'keythree'=> 'valuethree'
    }
but someone pointed out the this notation is old and that now I should use:
  hash = 
        {
        'keyone': 'valueone',
        'keytwo': 'valuetwo',
        'keythree': 'valuethree'
        }
I get this error:
no implicit conversion of nil into String (TypeError)
I only changed the hash notation. Can someone explain what is happening?
 
     
     
     
    