>>>>> "P" == Paul E C Melis <melis / cs.utwente.nl> writes:

P> I have a ruby script that is loaded up from a C program using
P> rb_load_file().

 rb_load_file() compile the file but don't execute the parsed nodes. It's
 best to use rb_require(), rb_load() or rb_load_protect()

P> -- boot.rb --
P> def Method1 (x, y, z)
P>    ...
P> end
P> ....
P> --------------

P> Now, I want to call Method1 from C using rb_funcall().

 Now you can use rb_cObject for the first argument of rb_funcall()


Guy Decoux