From: Shaz Date: 2010-04-08T10:30:15+09:00 Subject: Hash name increment on iteration? Is it possible to add to the name of a hash while running through an iteration? What I'm trying to achieve: SomeArray.each do |i, name, content| info[i+1] = { "name" => name, "content" => content } end So that I can call, for example info[1] [name] or info[5][content]...