From: "F. Senault" Date: 2010-09-21T03:45:08+09:00 Subject: Re: An elegant way... Le 20 septembre � 19:44, James Edward Gray II a �crit : > Dave Thomas and I were playing around with an idea like this recently: > > http://gist.github.com/570434 > > http://gist.github.com/570556 > > I hope those give you some fresh ideas. Where does the slice_before method comes from ? (Anyways, seeing your comment on the first bit of code, I think I should use inject in my refactored form... probably...) Fred -- When I'm nice, people think I'm up to something and start sending me bombs in the mail. (Mike, CRFH - http://www.crfh.net/)