From: nobu@... Date: 2019-06-13T05:59:18+00:00 Subject: [ruby-core:93089] [Ruby trunk Feature#15777] autoload?(cname, inherit=true) Issue #15777 has been updated by nobu (Nobuyoshi Nakada). Changing the signature of `rb_autoload_p` could break API compatibility. I think we'll need another function for it. Maybe `rb_autoload_at_p` like as `rb_const_defined_at`? ---------------------------------------- Feature #15777: autoload?(cname, inherit=true) https://bugs.ruby-lang.org/issues/15777#change-78511 * Author: fxn (Xavier Noria) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Zeitwerk needs to be able to check if a given class or module has an autoload defined for a certain constant name, that would be `autoload?(cname, false)`, similar to `const_defined?(cname, false)`. -- https://bugs.ruby-lang.org/ Unsubscribe: