From: Roger Pack Date: 2010-01-22T08:02:52+09:00 Subject: Re: Invloking Ruby Methods From C > I'd like to know how to invoke a Ruby methode from a C code . > > Ok, you may tell me to use > rb_funcall !! > exactely that wht I want to do!! typically you'll have a (VALUE something) then it's like rb_funcall(something, rb_intern("method_name"), arg1, arg2) where arg1 and arg2 are also ruby VALUE's checkout the file README.EXT it might be helpful. There's also an rb_eval_string("some ruby code") or like rb_eval_string("$abc.some_method") if that helps. -r -- Posted via http://www.ruby-forum.com/.