Answers

Question and Answer:

  Home  Ruby

⟩ What is the use of load and require in ruby?

Reuire() 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() performs the inclusion operation once, it reprocesses the code every time load is called.

 198 views

More Questions for you: