Robert Klemme wrote in post #1094583:
> write your own - it is the most
> reasonable thing to have a specific class for handling this instead of
> writing functions which work with a nested Array structure.

It's only just dawned on me just how useful this kind of thing could be. 
I could have a class tailor-made to my expected outputs, yet versatile 
enough to adapt to new challenges... If I learn how to use blocks 
effectively as well, then it could do pretty much anything I need.
All hail Ruby!

-- 
Posted via http://www.ruby-forum.com/.