Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubysend and public_sendSingle-choice MCQ

A class has an overridden send instance method. How do you reliably invoke a method by name regardless of that override?

class Messenger def send(*args); "custom send: #{args.inspect}"; end def greet; "hi"; end end m = Messenger.new