Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubyinclude prepend extend on the chainSingle-choice MCQ

The `extend self` idiom is used in a module. What does it accomplish internally?

module Helper extend self def util; "u"; end end p Helper.util p Helper.singleton_class.ancestors.include?(Helper)