Sha256: 83b939ea15c39b950f3c906a61e807767d7e2847687a92b06ebde1798c64efc3

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require "reek"
require "reek/configuration/app_configuration"
require "ostruct"

module Rubycritic

  class Reek < ::Reek::Examiner
    DEFAULT_CONFIG_FILE = File.expand_path("../config.reek", __FILE__)

    def initialize(pathname)
      config = ::Reek::Configuration::AppConfiguration.from_path(DEFAULT_CONFIG_FILE)
      super(pathname, [], :configuration => config)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubycritic-2.1.0 lib/rubycritic/analysers/helpers/reek.rb
rubycritic-2.0.0 lib/rubycritic/analysers/helpers/reek.rb