Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubydefine_methodSingle-choice MCQ

When you pass an `UnboundMethod` as the second argument to `define_method`, what constraint must hold?

module M def greet; "hi"; end end class Includer define_method(:greet, M.instance_method(:greet)) end