Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubyProc vs lambda usageSingle-choice MCQ

What does `method(:foo).to_proc.lambda?` return, and what does that imply about its argument handling?

def foo(a, b); end m = method(:foo).to_proc m.lambda?