Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubyrefinements usingSingle-choice MCQ

What is the behavior of these two calls after the refinement is activated with using?

module StringExt refine String do def shout; upcase + "!"; end end end # at top level, before any using: "hi".shout using StringExt "hi".shout