From: rcoder Date: 2004-10-10T07:29:40+09:00 Subject: Re: Help with a C extension You should be able to define extension methods for built-in classes the same way you do for your own module. For example: VALUE my_extension_method(VALUE klass, VALUE self) { /* do something here... */ return Qnil; } void Init_my_extension() { rb_define_method(rb_cString, "my_method_name", my_extension_method, 0); } -- Lennon rcoder.net