On Fri, 2006-04-28 at 14:31 +0900, Gregory Brown wrote:
> I think it would be technically impossible to implement a good
> automated solution to find duplicated code.  This is a more human
> oriented option which could be helpful and a lot of fun.

There's always the copy/paste detector CPD for that:

http://pmd.sf.net/cpd.html

It's got a (very basic) Ruby parser.  

Yours,

tom