Class: MetricFu::MetricReek
- Inherits:
-
Metric
- Object
- Metric
- MetricFu::MetricReek
show all
- Defined in:
- lib/metric_fu/metrics/reek/metric.rb
Instance Attribute Summary
Attributes inherited from Metric
#activated, #enabled
Instance Method Summary
collapse
Methods inherited from Metric
#configured_run_options, #default_run_args, enabled_metrics, #gem_name, get_metric, #initialize, metrics, #run, #run_external, #run_options
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class MetricFu::Metric
Instance Method Details
#activate ⇒ Object
22
23
24
|
# File 'lib/metric_fu/metrics/reek/metric.rb', line 22
def activate
super
end
|
#default_run_options ⇒ Object
7
8
9
10
11
12
|
# File 'lib/metric_fu/metrics/reek/metric.rb', line 7
def default_run_options
{
dirs_to_reek: MetricFu::Io::FileSystem.directory("code_dirs"),
config_file_pattern: nil,
}
end
|
#enable ⇒ Object
18
19
20
|
# File 'lib/metric_fu/metrics/reek/metric.rb', line 18
def enable
super
end
|
#has_graph? ⇒ Boolean
14
15
16
|
# File 'lib/metric_fu/metrics/reek/metric.rb', line 14
def has_graph?
true
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/metric_fu/metrics/reek/metric.rb', line 3
def name
:reek
end
|