Sha256: 1edc7c3664cb250bc43b4b921fb7dd6ce055d596a368ba8240c432c4099baad3
Contents?: true
Size: 564 Bytes
Versions: 6
Compression:
Stored size: 564 Bytes
Contents
diff --git a/load.c b/load.c index 576464fb68..ae89f63820 100644 --- a/load.c +++ b/load.c @@ -908,6 +908,11 @@ search_required(VALUE fname, volatile VALUE *path, int safe_level, feature_func if (loading) *path = rb_filesystem_str_new_cstr(loading); return 'r'; } + else if ((ft = rb_feature_p(ftptr, 0, FALSE, FALSE, &loading)) == 's') { + if (loading) *path = rb_filesystem_str_new_cstr(loading); + return 's'; + } + tmp = fname; type = rb_find_file_ext_safe(&tmp, loadable_ext, safe_level); switch (type) {
Version data entries
6 entries across 6 versions & 1 rubygems