Ruby concepts

Ruby · Strings

Ruby Strings puzzles

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