From: Edwin Pratomo Date: 2008-01-09T18:45:44+09:00 Subject: Re: Embedding 1.9 On Tuesday 08 January 2008 10:36:56 am Yukihiro Matsumoto wrote: > > Basically, you have to call: > > ruby_sysinit() for command line argument initialization (optional) > RUBY_INIT_STACK() for GC stack initialization > ruby_init() for ruby interpreter initialization > > and wrap ruby calls with rb_protect() for initialize exception frame. > You can load Ruby programs with rb_load(). You can call ruby programs > from string via rb_eval_string(). > > matz. good day all, while it's still hot talking about embedding, let me ask a related question here: is there any way to do reflection from ruby C API? rgds, Edwin.