Intermediate
Ruby
Q44 / 100
What does "include" do when used inside a class definition with a module?
Correct! Well done.
Incorrect.
The correct answer is B) Mixes the module's instance methods into the class, making them available as instance methods of the class
B
Correct Answer
Mixes the module's instance methods into the class, making them available as instance methods of the class
Explanation
include mixes a module's instance methods into a class, inserting the module into the class's ancestor chain.
Progress
44/100