• + 0 comments

    def iter_hash(hash) hash.each do |key, value| puts "#{key} \n#{value}" end end

    don't forget to user \n to enter new line