ext/yarp/extension.c in yarp-0.6.0 vs ext/yarp/extension.c in yarp-0.7.0
- old
+ new
@@ -520,9 +520,11 @@
// Define the version string here so that we can use the constants defined
// in yarp.h.
rb_define_const(rb_cYARP, "VERSION", rb_str_new2(EXPECTED_YARP_VERSION));
+ rb_define_const(rb_cYARP, "BACKEND", ID2SYM(rb_intern("CExtension")));
+
// First, the functions that have to do with lexing and parsing.
rb_define_singleton_method(rb_cYARP, "dump", dump, -1);
rb_define_singleton_method(rb_cYARP, "dump_file", dump_file, 1);
rb_define_singleton_method(rb_cYARP, "lex", lex, -1);
rb_define_singleton_method(rb_cYARP, "lex_file", lex_file, 1);