Examveda
Examveda

What does the term "monkey patching" refer to in Ruby?

A. Assigning custom methods to specific objects

B. Modifying or extending existing classes or modules at runtime

C. Overriding built-in methods with custom implementations

D. Assigning custom methods to specific objects

Answer: Option B


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

Join The Discussion

Related Questions on Advanced Topics in Ruby

What is a singleton class in Ruby?

A. A class that can have only one method

B. A class that is used to define methods for a single object

C. A class that can have only one subclass

D. A class that can have only one method