Mega Code Archive
Categories
/
Ruby
/
Hash
Loop through all values
zip = { 1 => "B", 2 => "A" } zip.each_value { |value| print value, " " }