Q32
What is the purpose of the prepend method in Ruby?
A.
Adds a method to the end of a class definition
B.
Adds a module to the inheritance chain after the class itself
C.
Adds a method to the beginning of a class definition
D.
Adds a module to the inheritance chain before the class itself
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board