Ruby concepts

Ruby · Classes

Ruby Classes puzzles

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