Vidyalelo
Ruby Programming · Q53

Advanced Topics in Ruby

Programming · Ruby Programming · question 53

Q53

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board