Beginner Ruby
Q31 / 100

How do you require another file or library in Ruby?

Correct! Well done.

Incorrect.

The correct answer is C) require "file"

C

Correct Answer

require "file"

Explanation

require loads a Ruby file or library, ensuring it is only loaded once per program.

Progress
31/100