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
Answer: Option D

Join The Discussion