method

guess_for_anonymous

Importance_1
v5.2.3 - Show latest stable - 0 notes - Class: ActiveSupport::Dependencies::ModuleConstMissing
guess_for_anonymous(const_name) public

We assume that the name of the module reflects the nesting (unless it can be proven that is not the case) and the path to the file that defines the constant. Anonymous modules cannot follow these conventions and therefore we assume that the user wants to refer to a top-level constant.

Show source
Register or log in to add new notes.