From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2003-04-25T03:11:57+09:00 Subject: Accessing Ruby class from C extention I know it's possible to write Ruby in C but is it possible to instantiate a Ruby object (defined only in a Ruby class; no C) in a C extention and then call methods on that object in C? I know we can instantiate Strings (rb_str_new2("some string")), Arrays (rb_ary_new), and Hashes for example in a C extention, but these classes are all defined in C. I'm thinking it's probably not possible to do this, but maybe there's a trick to it that I don't know about... Otherwise I'll just have to rewrite several Ruby classes in RubyC. Phil