Sha256: 1f7f18e2a2a95df0373ab6814224d420d0db0ad3340ab11b141f6a4770598c6e
Contents?: true
Size: 404 Bytes
Versions: 12
Compression:
Stored size: 404 Bytes
Contents
#include "classpath.h" VALUE path2class(path) char *path; { VALUE v = rb_path2class(path); if (TYPE(v) != T_CLASS) { rb_raise(rb_eArgError, "%s does not refer class", path); } return v; } VALUE path2module(path) char *path; { VALUE v = rb_path2class(path); if (TYPE(v) != T_MODULE) { rb_raise(rb_eArgError, "%s does not refer module", path); } return v; }
Version data entries
12 entries across 6 versions & 2 rubygems