Module: Reek::CodeClimate::CodeClimateConfiguration

Defined in:
lib/reek/code_climate/code_climate_configuration.rb

Overview

loads the smell type metadata to present in Code Climate

Class Method Summary collapse

Class Method Details

.loadObject



7
8
9
10
# File 'lib/reek/code_climate/code_climate_configuration.rb', line 7

def self.load
  config_file = File.expand_path('code_climate_configuration.yml', __dir__)
  YAML.load_file config_file
end