1.

What Is The Use Of Load And Require In Ruby?

Answer»

A method that loads and PROCESSES the Ruby code from a separate file, including WHATEVER classes, MODULES, methods, and constants are in that file into the current scope. load is similar, but RATHER than performing the inclusion operation once, it reprocesses the code every time load is called.

A method that loads and processes the Ruby code from a separate file, including whatever classes, modules, methods, and constants are in that file into the current scope. load is similar, but rather than performing the inclusion operation once, it reprocesses the code every time load is called.



Discussion

No Comment Found