method

require_dependency

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: RequireDependency
require_dependency(filename) public

Warning: This method is obsolete. The semantics of the autoloader match Ruby’s and you do not need to be defensive with load order anymore. Just refer to classes and modules normally.

Engines that do not control the mode in which their parent application runs should call require_dependency where needed in case the runtime mode is :classic.

Show source
Register or log in to add new notes.