Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubymethod lookup and ancestorsSingle-choice MCQ

Consider re-including a module that was already included earlier in the same ancestry. What does MRI do on the second include, and why?

module M; end module N; include M; end class C; include M; include N; end p C.ancestors