From: Jan Dvorak Date: 2008-05-05T21:31:14+09:00 Subject: Re: Need more help with Ruby and C On Monday 05 May 2008 05:13:49 Bryan Richardson wrote: > static VALUE foo_new() { > static VALUE execute(VALUE foos) { ruby passes 'self' (current context) as the first argument of any C defined method, so you have to define it as: > static VALUE foo_new(VALUE self) { > static VALUE execute(VALUE self, VALUE foos) { Jan