Accessing Hash Values question is bugged


Nothing is wrong, I tried printing the value many ways, even copy pasting the hint solution and it refuses to accept. Small bug that should be fixed.

Or I'm missing something painfully obvious


pets =
pets["ass"] = 5

pets.each{|x,y| puts y}


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.