Strictly speaking, any Ruby code can be made into one line with liberal use of the semi-colon (;). It would just be an extremely long line! My full, nicely abstracted solution for this quiz is 36 lines (including empty lines), but I also wrote a somewhat obfuscated one-line version which is 104 characters. But it is missing some of the features of the full one. But overall it solves the quiz. It is probably possible to make an even shorter version. Ryan On 4/21/06, Jake McArthur <jake.mcarthur / gmail.com> wrote: > My first participation in Ruby Quiz, and it has to be easy. That > said, I must really be missing something because some of you guys are > mentioning one-liners, and mine is 26 lines. Maybe it's because I > made mine highly abstracted, but I still don't really see how to do > this in one line.