E
Elias Athanasopoulos
Hello!
Consider I have in Ruby:
def foo(meth)
method(meth).call
end
foo uts
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,
Consider I have in Ruby:
def foo(meth)
method(meth).call
end
foo uts
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,