load(filename, wrap=false) â true
Instance Public methods
Loads and executes the Ruby program in the file filename. If the
filename does not resolve to an absolute path, the file is searched for in
the library directories listed in $:
. If the optional
wrap parameter is true
, the loaded script will be
executed under an anonymous module, protecting the calling program's
global namespace. In no circumstance will any local variables in the loaded
file be propagated to the loading environment.
Please login to continue.