From: Kent Sibilev Date: 2004-03-14T14:10:09+09:00 Subject: Re: Embedding Ruby Try VALUE rb_eval_string(const char *str) Cheers, Kent. On Mar 13, 2004, at 10:29 PM, GGarramuno wrote: > I am investigating how to embed ruby in other applications ( in this > case, as a complement to Maya's MEL language, a popular 3d package). > The pickaxe book mentions: > > void rb_load_file(char *file") > > However, for my needs, I would be looking for a function that can take > a char* and interpret it as a ruby script directly (kind of what irb > does), without having to save it to a file. > The pickaxe does not mention any such method. > How would I go around doing something like that? > >