MacTech Article: 2702Mac in the Shell
27.02 Mac in the Shell: Ruby Error Handling
Article Synopsis
Last month, we continued to look at Ruby as a practical way for Sys Admins to automate tasks. We ended with a short program that copies a file into every user home directory. While we did a basic check up front for the root user, we didn't go beyond that. This month, I'll show you how to handle unexpected errors and recover in order to keep up a great experience for the end user.
This article was published in the 27.02 issue of MacTech Magazine. Subscribers saw
this article in the print magazine when it was first published. MacTech provides its readers with valuable information
each and every month, but even if it only solves one problem for you a year, it's more than paid for itself.
Subscribe today with a special RISK FREE trial subscription ... and get the back issues at the MacTech Store, or the new MacTech CD with the history of
the magazine all in one convenient place.