Stdle #155 · comparisons · 2026-11-08
What does this Ruby snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
case [:ok, 99]in [:ok, Integer => v] if v > 50 puts "ok big: #{v}"in [:ok, Integer => v] puts "ok small: #{v}"endComparisons