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

Inside a `method_missing` implementation, you handle some names dynamically and call `super` for the rest. What is the benefit of calling `super` rather than raising your own error?

def method_missing(name, *args) return "dynamic" if name.to_s.start_with?("get_") super end