| Start |
|---|
| Require files to be loaded only once The Kernel#require (opens new window) method will load files only once (several calls to The Kernel#require_relative (opens new window) allows you to load files relative to the file in which |
| Automatically loading source files The method The method Kernel#autoload? (opens new window) returns filename to be loaded if name is registered as |
| Loading optional files When files are not available, the |
| Loading files repeatedly The Kernel#load (opens new window) method will evaluate the code in the given file. The search path will be constructed as with |
| Loading several files You can use any ruby technique to dynamically create a list of files to load. Illustration of globbing for files starting with |
Read Article
https://develop.horje.com/learn/1434/reference