What's this about?
The Toy Robot exercise was originally developed by Jon Eaves. He explains why he did it in this blog post.
If you're a new Ruby developer who's gone through some basic Ruby tutorials and you're looking for the next thing to build your skills, this book is a great start. It covers the Toy Robot exercise from start to finish, testing with RSpec along the way.
The Toy Robot exercise is commonly used in interviews as the ways to solve it in any language are not as simple as they first may seem. This book covers one implementation of this exercise in Ruby. It is not intended to be the most perfect implementation of the Toy Robot exercise possible, but instead is my personal take on it.