From: Mark Probert Date: 2005-03-11T05:30:29+09:00 Subject: Simple extension question Hi .. What is the easy way of clearing an array in an extension? ie Given VALUE t_init(VALUE self) { VALUE foo; foo = rb_ary_new(); rb_iv_set(self, "@foo", foo); } How do I do the equivalent of "foo.clear" ? Thanks, -- -mark. (probertm at acm dot org)