Examveda

What is the purpose of the const_missing method in Ruby?

A. It is called when a constant is accessed that is already defined

B. It is called when a constant is accessed that is not defined

C. It is called when a constant is defined that is not accessed

D. None of the above

Answer: Option B


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

Join The Discussion

Related Questions on Advanced Topics in Ruby