Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubymethod_missing and respond_to_missingSingle-choice MCQ

Inside method_missing, what is the correct way to handle names you do NOT want to intercept so Ruby raises a normal NoMethodError with the right message and backtrace?

def method_missing(name, *args, &block) if handled?(name) # ... handle it else ??? end end