#!/usr/bin/ruby hsh = colors = { "red" => 0xf00, "green" => 0x0f0, "blue" => 0x00f } hsh.each do |key, value| print key, " is ", value, "\n" end
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more