Data mining for patterns in ruby code