In Ruby, what is the purpose of the #method method?
A. It invokes the specified method on the object
B. It checks if the object responds to the specified method
C. It defines a new method on the object
D. It returns a Method object representing the specified method
Answer: Option D

Join The Discussion