Stdle #115 · blocks · 2026-09-29
What does this Ruby snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
def capture(&blk) blk.call(10)endputs capture { |n| n + 5 }Blocks
Stdle #115 · blocks · 2026-09-29
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
def capture(&blk) blk.call(10)endputs capture { |n| n + 5 }