Thomas demonstrates the power and flexibility of Ruby.

Is Ruby yet another scripting language? No, it is not. It is something more, something new and exciting coming out of the Japanese open-source scene. Ruby is the programmer's best friend. While Ruby is presented as a scripting language, it has proven equally suited for large projects. It includes some exciting features that other alternative languages are only beginning to implement. Ruby is therefore well worth checking out.


A special thanks goes out to my technical reviewers: Armin Roehrl, of, for reviewing the draft manuscript and guidance in editing the final version. David Thomas, of, for massively improving the original sample script and reviewing the draft manuscript. Kent Dahl and Sean Chittenden for reviewing the draft manuscript. Last, but not least, Magnus Lie Hetland, Python guru, for invaluable assistance.


Thomas Østerlie is a consultant with Norwegian-based consulting company ConsultIT A/S, where he works with server-side systems development for UNIX platforms and with computer security. He has been an avid Linux user since 1995, after having been forced to install Windows 95 on his office computer. He can be reached at



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

It works

Anonymous's picture

It works

This example doesn't work,

Anonymous's picture

This example doesn't work, it is missing something so has an extra )

Dir.entries(full_name) - ['.', '..']).empty?