Ruby Kernel#load Method
- Executed at the point where Ruby encounters it in the file.
- Can load files that the names are determined dynamically during the execution of the program.
- Calls to
loadcan also be conditional.
- Giving the
loadfully qualified path would bypass the load path.
- A call to
loadloads the file even if it was already loaded, overwriting the things loaded in the previous versions.