Class: MetricsSatellite::RailsBestPracticesCollector

Inherits:
Collector
  • Object
show all
Defined in:
lib/metrics_satellite/collectors/rails_best_practices_collector.rb

Constant Summary collapse

EXT =
"html"

Instance Attribute Summary

Attributes inherited from Collector

#options

Instance Method Summary collapse

Methods inherited from Collector

#initialize, #run, underscore

Constructor Details

This class inherits a constructor from MetricsSatellite::Collector

Instance Method Details

#collectObject



5
6
7
8
9
10
11
# File 'lib/metrics_satellite/collectors/rails_best_practices_collector.rb', line 5

def collect
  system(
    "rails_best_practices",
    "--format", "html",
    "--output-file", filepath
  )
end