adspace


What is the purpose of load in ruby?

Answer Posted / Surendra Singh Laspal

The Ruby load method is used to dynamically execute a Ruby script or string from a file. It reads and evaluates the entire contents of the specified file, which can be useful for including additional code during runtime.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the current version of ruby on rails?

948