J
Jason Lillywhite
how would I iterate over a hash, such as
x = { 'a' => "hi", 'b' => nil, 'c' => "do"}
and replace nil values with 'foo' then return the hash again?
x = { 'a' => "hi", 'b' => nil, 'c' => "do"}
and replace nil values with 'foo' then return the hash again?