class Psych::ClassLoader

Private Instance Methods

path2class(path) click to toggle source

Convert path string to a class

static VALUE path2class(VALUE self, VALUE path)
{
#ifdef HAVE_RUBY_ENCODING_H
    return rb_path_to_class(path);
#else
    return rb_path2class(StringValuePtr(path));
#endif
}