= private = protected
autoload?(p1)
Returns filename to be loaded if name is registered as autoload.
autoload(:B, "b") autoload?(:B) #=> "b"
static VALUE rb_f_autoload_p(VALUE obj, VALUE sym) { /* use rb_vm_cbase() as same as rb_f_autoload. */ VALUE klass = rb_vm_cbase(); if (NIL_P(klass)) { return Qnil; } return rb_mod_autoload_p(klass, sym); }