From: Elias Athanasopoulos Date: 2004-02-11T03:26:56+09:00 Subject: manipulating a symbol in C Hello! Consider I have in Ruby: def foo(meth) method(meth).call end foo :puts How can I do this in C? I tried like this: rb_funcall(self, rb_to_id(meth), 0); with TObject#puts and I got a segfault, which is a sign that I am unaware of fundamental things in Ruby internals... Any hints? Regards, -- University of Athens I bet the human brain Physics Department is a kludge --Marvin Minsky