On Jun 1, 2005, at 7:39 PM, Devin Mullins wrote: > Noob, here, just playing around with Ruby (if this is spam, please > let me know). For the heck of it, I decided to refactor the > duplication out of the ShortURL class. Just to spite me, the > resulting code is actually bigger, but here you go... Don't let that get you down! Your version is more DRY (Don't Repeat Yourself). That's important because it frees you of the burden of finding all the right spots to change in replicated code come maintenance time. I would rather have that than win a golf match (shortest keystrokes) any day. Nice work. ;) James Edward Gray II