何がしたいのかよくわからんがRubyでfor文は殆ど使わない

$g_persons.each{|p|puts 'name = %s, age = %s' % p.to_a}