Intermediate Ruby
Q71 / 100

What does "Object#send" allow you to do?

Correct! Well done.

Incorrect.

The correct answer is B) Call a method on an object dynamically by name, including private methods

B

Correct Answer

Call a method on an object dynamically by name, including private methods

Explanation

send(:method_name, *args) invokes the named method dynamically, bypassing normal access control (unlike public_send which respects it).

Progress
71/100