Vidyalelo
Ruby Programming · Q62

Advanced Topics in Ruby

Programming · Ruby Programming · question 62

Q62

What does the send method in Ruby do?

A.
It returns a Method object representing the specified method
B.
It checks if the object responds to the specified method
C.
It sends a message to the Ruby interpreter to execute a piece of code
D.
It invokes a method dynamically on an object
Answer

Answer: Option D

Solution

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