From: Jesse van den Kieboom Date: 2004-07-15T00:03:40+09:00 Subject: Re: No Subject > J> So how to call a function from the loaded file... Funny thing, cause I got it working now. What I do is I load the script file using rb_load_file. Then I call ruby_exec. After that I start defining the classes and global objects/functions the scripts can use. And with eval_string I can call the functions defined in the script (such as register_functions and the registered functions themselfs :)) So I hope this is a good way to do this. Jesse