Mega Code Archive

 
Categories / Ruby / Hash
 

Hash with =

myHash = Hash[ :name => "Jack", :partner => "Jane", :employee => "Joe" =>:location,"London", :year => 1843 ]