Sha256: c541ea9cde8bbcc25c4619dec48612feb368c77d4768106ecb917885bae4d355
Contents?: true
Size: 440 Bytes
Versions: 4
Compression:
Stored size: 440 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(paths) config = OpenStruct.new(:options => OpenStruct.new(:config_file => DEFAULT_CONFIG_FILE)) ::Reek::Configuration::AppConfiguration.initialize_with(config) super(Array(paths)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems