Q14
What is the purpose of the include keyword in Ruby?
A.
To instantiate an object of a class
B.
To define a new class that inherits from an existing class
C.
To include a file in the current Ruby script
D.
To mix in module methods as instance methods of a class
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board