Class: MetricFu::MetricFlay
- Inherits:
-
Metric
- Object
- Metric
- MetricFu::MetricFlay
show all
- Defined in:
- lib/metric_fu/metrics/flay/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
24
25
26
|
# File 'lib/metric_fu/metrics/flay/metric.rb', line 24
def activate
super
end
|
#default_run_options ⇒ Object
7
8
9
10
11
12
13
14
|
# File 'lib/metric_fu/metrics/flay/metric.rb', line 7
def default_run_options
{ dirs_to_flay: MetricFu::Io::FileSystem.directory("code_dirs"),
minimum_score: nil,
}
end
|
#enable ⇒ Object
20
21
22
|
# File 'lib/metric_fu/metrics/flay/metric.rb', line 20
def enable
super
end
|
#has_graph? ⇒ Boolean
16
17
18
|
# File 'lib/metric_fu/metrics/flay/metric.rb', line 16
def has_graph?
true
end
|
#name ⇒ Object
3
4
5
|
# File 'lib/metric_fu/metrics/flay/metric.rb', line 3
def name
:flay
end
|