← Ruby concepts

Ruby · Classes

Ruby Classes puzzles

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