Ruby concepts

Ruby · Iteration

Ruby Iteration puzzles

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