Stdle #152 · blocks · 2026-11-05
What does this Ruby snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
p = Proc.new { |x, y| puts x.to_i + y.to_i }p.call(1, 2)p.call(1)Blocks
Stdle #152 · blocks · 2026-11-05
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
p = Proc.new { |x, y| puts x.to_i + y.to_i }p.call(1, 2)p.call(1)