Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubyconst_missing included inherited hooksSingle-choice MCQ

When a module declares `self.prepended` and is then prepended into a class, which hook fires, and how does it differ from `included`?

module M def self.prepended(base); puts "prepended into #{base}"; end end class C; prepend M; end