SyntaxFix
Write A Post
Hire A Developer
Questions
Try this function:
h = {"a" => "b", "c" => "d"} h.each{|i,j| j.upcase!} # now contains {"a" => "B", "c" => "D"}.