# File lib/kwala/lib/cycle_detector.rb, line 691 def self.clean_file(file) # Get rid of any "./a.rb" files as they will make duplicates if m = /^\.\/(.*)/.match(file) file = m[1] end if m = /(.*)?(\.rb|\.so)$/.match(file) m[1] else file end end