#we know that way to create hash_in_hash
h=Hash.new{ |h,k| h[k]=Hash.new(&h.default_proc) }
#it reduce time to create both internal and external hashes.
#consider, hash={h1=>{h1h=>{w1=>k1,w2=>k2,..}},..,h5=>{h5h=>{..}}
#how can I iterate this hash? expecting easy way like second_line.

-- 
Posted via http://www.ruby-forum.com/.