Sha256: 44343e11250f61631eb8a4f22a0046d039d714f2735cf335d0dc7e6a748cb822
Contents?: true
Size: 456 Bytes
Versions: 3
Compression:
Stored size: 456 Bytes
Contents
$:.unshift File.dirname(__FILE__) require 'reek/file_checker' require 'reek/report' module Reek # :doc: # # Analyse the given source files, looking for code smells. # Returns a +Report+ listing the smells found. # def self.analyse(*files) # :doc: report = Report.new files.each do |file| source = IO.readlines(file).join FileChecker.new(report).check_source(source) end report end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reek-0.2.1 | lib/reek.rb |
reek-0.2.2 | lib/reek.rb |
reek-0.2.3 | lib/reek.rb |