Summary

I hope you've found this quick tour of Ruby/Tk useful.

When you have a computing task to do, Ruby typically makes the logical work pretty easy, but building a graphical interface around it can still be a lot of work and can make the script grow large and unwieldy. Is it worth the trouble? Keep in mind that if you do your job well, the end user will appreciate your effort. Perhaps paradoxically, if you do your job very well, the user won't have to think about the interface much and may as a result give no thought to how much you must have slaved over it! But this is, unquestionably, a Good Thing when it happens.

Tk is significantly older than Ruby. The Ruby/Tk bindings are based on some fairly old thinking, and you can take that any way ...

Get Sams Teach Yourself Ruby in 21 Days 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.