Ruby concepts

Ruby · Hashes

Ruby Hashes puzzles

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