Ruby
1.9.3p429(2013-05-15revision40747)
Main Page
Modules
Data Structures
Files
File List
Globals
ext
-test-
string
init.c
Go to the documentation of this file.
1
#include "ruby.h"
2
3
#define init(n) {void Init_##n(VALUE klass); Init_##n(klass);}
4
5
void
6
Init_string
(
void
)
7
{
8
VALUE
mBug =
rb_define_module
(
"Bug"
);
9
VALUE
klass =
rb_define_class_under
(mBug,
"String"
,
rb_cString
);
10
TEST_INIT_FUNCS
(
init
);
11
}
12
Generated on Thu May 23 2013 20:33:00 for Ruby by
1.8.3