Examveda

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


This Question Belongs to Ruby Programming >> Advanced Topics In Ruby

Join The Discussion

Related Questions on Advanced Topics in Ruby