From: Martin DeMello Date: 2003-02-13T07:05:47+09:00 Subject: Re: hm,... arr[1]["name"] dblack@candle.superlink.net wrote: > > Here's another idiom to add to the collection: > > arr = (0..9).map {|x| { "name" => "daniel", "age" => 20 } } > > (where the inner {} are the literal hash constructor) Do I hear a vote for 10.map == (0...10).map? :) martin