Loading files repeatedly
suggest changeThe Kernel#load method will evaluate the code in the given file. The search path will be constructed as with require
. It will re-evaluate that code on every subsequent call unlike require
. There is no load_relative
.
load `somefile`
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents