Vidyalelo
Ruby Programming · Q6

Advanced Topics in Ruby

Programming · Ruby Programming · question 6

Q6

Which Ruby method is commonly used for dynamically defining new methods on an object?

A.
create_method
B.
new_method
C.
add_method
D.
define_method
Answer

Answer: Option D

Solution

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