Ruby concepts

Ruby · Strings

Ruby Strings puzzles

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