Class: MetricsSatellite::BrakemanCollector

Inherits:
Collector
  • Object
show all
Defined in:
lib/metrics_satellite/collectors/brakeman_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
# File 'lib/metrics_satellite/collectors/brakeman_collector.rb', line 5

def collect
  system(
    "brakeman",
    "--output", filepath
  )
end