From: "Iñaki Baz Castillo" Date: 2009-10-30T21:40:50+09:00 Subject: Re: How to export classes from C extensions to Ruby? 2009/10/30 Iñaki Baz Castillo : > void Init_utils() { >  ... >  // Create a exception XDMSURLParsingError. >  class_error = rb_define_class("MyProjectError", rb_eStandardError); >  class_url_parsing_error = rb_define_class("URLParsingError", class_error); > } > > Should I do something special to export these classes to Ruby? Of > course a workaround would be creating these classes also in Ruby, but > seems a bit "dirty" :) Sorry, my fault. The class is visible but it's not in the module I've created so I ddin't capture the correct exception.