← Ruby concepts

Ruby · Blocks

Ruby Blocks puzzles

9 Ruby puzzles on blocks. Read the snippet, guess the output, then reveal the answer and why Ruby behaves that way.