What does the autoload method in Ruby do?
A. It loads a file asynchronously to improve performance
B. It reloads a file every time it is accessed
C. It loads all files in a directory when the program starts
D. It automatically loads a specified file when a constant is accessed for the first time
Answer: Option D

Join The Discussion