Examveda

In Ruby, what is the purpose of the __send__ method?

A. It allows you to dynamically invoke a method on an object

B. It sends a message to the system kernel to perform a low-level operation

C. It sends a message to the Ruby interpreter to execute a piece of code

D. It evaluates a string as Ruby code within the current context

Answer: Option A


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

Join The Discussion

Related Questions on Advanced Topics in Ruby