diff options
Diffstat (limited to 'ruby_2_2/ext/-test-/path_to_class/path_to_class.c')
-rw-r--r-- | ruby_2_2/ext/-test-/path_to_class/path_to_class.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/ruby_2_2/ext/-test-/path_to_class/path_to_class.c b/ruby_2_2/ext/-test-/path_to_class/path_to_class.c deleted file mode 100644 index c8c2831b09..0000000000 --- a/ruby_2_2/ext/-test-/path_to_class/path_to_class.c +++ /dev/null @@ -1,15 +0,0 @@ -#include "ruby.h" - -static VALUE -path_to_class(VALUE klass, VALUE path) -{ - return rb_path_to_class(path); -} - -void -Init_path_to_class(void) -{ - VALUE klass = rb_path2class("Test_PathToClass"); - - rb_define_singleton_method(klass, "path_to_class", path_to_class, 1); -} |