method
autoload?
ruby latest stable - Class:
Module
autoload?(p1)public
Returns filename to be loaded if name is registered as autoload in the namespace of mod.
module A end A.autoload (:B, "b") A.autoload? (:B) #=> "b"
static VALUE
rb_mod_autoload_p(VALUE mod, VALUE sym)
{
ID id = rb_check_id(&sym);
if (!id) {
return Qnil;
}
return rb_autoload_p(mod, id);
}