I have wanted to learn to program in ruby for a long time, so I got Chris Pine's book (Learn to Program) and started working through it.
To make the chapters "stick" in my memory, I am posting my solutions to the exercises at the end of each chapter.
So here they are.