Q. What is the primary difference between module_function and extend self in Ruby?
β
Correct Answer: (A)
module_function makes the specified methods accessible as module methods, while extend self makes them accessible as instance methods