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.
Ryan has been writing books and documentation for programming languages for over a decade. These books have sold over 20,000 copies worldwide.
Ryan lives in the lovely coastal town of Warrnambool, Australia.