Vidyalelo
Ruby Programming · Q49

Advanced Topics in Ruby

Programming · Ruby Programming · question 49

Q49

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

A.
It allows you to dynamically invoke a method on an object
Answer
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

Solution

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