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

When you override `respond_to_missing?`, why is its second parameter (`include_private`) important?

def respond_to_missing?(name, include_private = false) name.to_s.start_with?("find_by_") || super end