Project

General

Profile

Actions

Feature #15777

closed

autoload?(cname, inherit=true)

Added by fxn (Xavier Noria) about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:92336]

Description

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).

Actions

Also available in: Atom PDF