Ruby never stops to amaze me. …oh well, matz…
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.
Ruby never stops to amaze me. …oh well, matz…
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.