1 2 3 4 5 6 7 8 9
#include "ruby.h" static VALUE rb_cPathname; void Init_pathname() { rb_cPathname = rb_define_class("Pathname", rb_cObject); }