Hm,... arr[1]["name"]

Ruby never stops to amaze me. …oh well, matz… :slight_smile:

kind regards -botp

···

Matz [mailto:matz@ruby-lang.org] wrote:

If you’re using 1.8, it’s even simpler:

a = Array.new(10){{“name” => “daniel”, “age” => 20}}

  					matz.