dry-report gem and Don’t Repeat Yourself plugin
Based on Simian (Similarity Analyser) by Simon Harris from RedHill Consulting, see www.redhillconsulting.com.au/products/simian/ Copyright © 2003-08 RedHill Consulting Pty. Ltd. All rights reserved.
Report duplicate lines in your code, integrated with Textmate and Netbeans.
License dry-report gem
See ./SIMIAN-LICENSE file
Simon Harris had the same idea as me and also wrote a Rails plugin. More information in www.redhillonrails.org/#simian