Examveda

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: Option D


This Question Belongs to Ruby Programming >> Advanced Topics In Ruby

Join The Discussion

Related Questions on Advanced Topics in Ruby