Documentation

You will notice slight differences between the code in the book and the source code available for download at http://www.nostarch.com/wcruby.htm/. Most of the comments and documentation have been taken out of the source code in the book for brevity's sake. Some of the scripts have more detailed explanations if I felt clarity was needed. I highly encourage commenting your own code so you and other people can understand how it works.

Note

When I began programming, I spent several hours reviewing code I had previously written to figure out how it worked. After a few rounds of studying code without comments, I learned an important lesson—comment your code while it's fresh in your mind. The amount of commenting is up to you, but it is ...

Get Wicked Cool Ruby Scripts now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.