Class: MetricFu::MetricHotspots
- Defined in:
- lib/metric_fu/metrics/hotspots/metric.rb
Instance Attribute Summary
Attributes inherited from Metric
Instance Method Summary collapse
-
#default_run_options ⇒ Object
TODO remove explicit Churn dependency.
- #enable ⇒ Object
- #has_graph? ⇒ Boolean
- #name ⇒ Object
Methods inherited from Metric
#activate, #configured_run_options, #default_run_args, enabled_metrics, #gem_name, get_metric, #initialize, metrics, #run, #run_external, #run_options
Constructor Details
This class inherits a constructor from MetricFu::Metric
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MetricFu::Metric
Instance Method Details
#default_run_options ⇒ Object
TODO remove explicit Churn dependency
8 9 10 |
# File 'lib/metric_fu/metrics/hotspots/metric.rb', line 8 def { start_date: "1 year ago", minimum_churn_count: 10 } end |
#enable ⇒ Object
16 17 18 |
# File 'lib/metric_fu/metrics/hotspots/metric.rb', line 16 def enable super end |
#has_graph? ⇒ Boolean
12 13 14 |
# File 'lib/metric_fu/metrics/hotspots/metric.rb', line 12 def has_graph? false end |
#name ⇒ Object
3 4 5 |
# File 'lib/metric_fu/metrics/hotspots/metric.rb', line 3 def name :hotspots end |