Works like a wonder, thank you very much!


> D> void Init_cRubyTest() {
> D>   cRubyTest = rb_define_class("Test", rb_cObject);
> 
>      rb_define_attr(cRubyTest, "myvar", Qtrue, Qfalse);
> 
> D>   rb_define_method(cRubyTest, "initialize", t_init, 0);
> D>   rb_define_method(cRubyTest, "add", t_add, 1);
> D>   rb_define_method(cRubyTest, "change", t_change, 0);
> D> }