From: squidster@... (Squidster) Date: 2002-11-30T11:38:17+09:00 Subject: rb_ary_each() Howto? Rubyists, I tried to find some sample code using rb_ary_each() but failed... Anyway, I wanted to write the 'C' equivalent of the following simple Ruby code: k = 0 foo = ["foo","bar","baz"] foo.each { |c| c.push(k) print c, "\n" k += 1 } Any pointers? TIA /squidster