I am new to Ruby, and just came across this code snippet:
rr = {
id: 215043,
:'Official Name' => "Google, Inc."
}
What bugs be the most is this :'Official Name' =>
. It looks like a symbol with spaces.
And when I print it, I see:
{:id=>"215043", :"Official Name"=>"Google, Inc."}
Please help me understand this.