Sha256: 6628d79ffcd9d0211325e8828c14640ed6c1ebc8d0f85d95d3a95220f396727e

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

$:.unshift File.dirname(__FILE__)

require 'reek/class_checker'
require 'reek/report'

module Reek # :doc:

    #
    # Analyse the given instances of class Class, looking for code smells.
    # Returns a +Report+ listing the smells found.
    #
    def self.analyse(*klasses)  # :doc:
      report = Report.new
      klasses.each do |klass|
        ClassChecker.new(report).check_object(klass)
      end
      report
    end    
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reek-0.1.0 lib/reek.rb
reek-0.1.1 lib/reek.rb
reek-0.2.0 lib/reek.rb