Class: Hexx::Suit::Metrics::MetricFu::Reek

Inherits:
Base
  • Object
show all
Defined in:
lib/hexx/suit/metrics/metric_fu/reek.rb

Overview

The configurer for the Reek metric

Constant Summary

Constants inherited from Base

Base::SYSTEM

Class Method Summary collapse

Methods inherited from Base

new

Methods inherited from Base

#load, run, #run

Class Method Details

.loadself

Changes settings source to config/metrics/reek.yml

Returns:

  • (self)

15
16
17
18
19
20
21
# File 'lib/hexx/suit/metrics/metric_fu/reek.rb', line 15

def load
  configure do |metric|
    metric.config_file_pattern = "config/metrics/reek.yml"
  end

  self
end