From: matz@... (Yukihiro Matsumoto) Date: 2001-03-13T02:23:23+09:00 Subject: [ruby-talk:12514] Re: rb_ary_each and hash Hi, In message "[ruby-talk:12507] rb_ary_each and hash" on 01/03/13, User Tcovert writes: |I have a hash of string-values, I'd like to make a c array of cstr's, I was wondering how I can iterate through the hash to pull out all the values. I can figure out how I would do this with an array(I think) but looking in ruby.h and internal.h I can't see any operators that would work with the Hash. I know it mixes in enumerable, but I'm not sure how that affects the c layer. Use st_foreach(). Examplea are shown in hash.c. matz.