method

guess_for_anonymous

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

Dependencies assumes 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 we assume therefore the user wants to refer to a top-level constant.

Show source
Register or log in to add new notes.