From: Paul Brannan Date: 2002-08-12T21:44:15+09:00 Subject: Re: Embeding Ruby in C++ code. On Sun, Aug 11, 2002 at 04:50:54AM +0900, Kostas Katsamakas wrote: > VALUE do_something(VALUE str) This should be: VALUE do_something(VALUE /* self */, VALUE str) All methods in ruby get called on an object, even global functions. Their object is 'main'. Paul