From 4a935bc6f66fda448fb430c7627a2f175dcd0650 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Sat, 13 Jul 2019 15:23:49 +0200 Subject: Document $LOAD_PATH.resolve_feature_path in globals.rdoc * RDoc does not seem to support documenting singleton object methods, and making $LOAD_PATH a class as a workaround is too weird. --- load.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'load.c') diff --git a/load.c b/load.c index 4eb3f7f50b..539b29f89b 100644 --- a/load.c +++ b/load.c @@ -945,14 +945,13 @@ load_ext(VALUE path) return (VALUE)dln_load(RSTRING_PTR(path)); } -/* Method is documented in vm.c */ - static int no_feature_p(const char *feature, const char *ext, int rb, int expanded, const char **fn) { return 0; } +// Documented in doc/globals.rdoc VALUE rb_resolve_feature_path(VALUE klass, VALUE fname) { -- cgit v1.2.3