mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
394 B
C
13 lines
394 B
C
|
#include <psych.h>
|
||
|
|
||
|
VALUE cPsychVisitorsYamlTree;
|
||
|
|
||
|
void Init_psych_yaml_tree(void)
|
||
|
{
|
||
|
VALUE psych = rb_define_module("Psych");
|
||
|
VALUE visitors = rb_define_module_under(psych, "Visitors");
|
||
|
VALUE visitor = rb_define_class_under(visitors, "Visitor", rb_cObject);
|
||
|
cPsychVisitorsYamlTree = rb_define_class_under(visitors, "YAMLTree", visitor);
|
||
|
}
|
||
|
/* vim: set noet sws=4 sw=4: */
|