Class: Codescout::BrakemanStats

Inherits:
Object
  • Object
show all
Defined in:
lib/codescout/brakeman_stats.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(analyzer) ⇒ BrakemanStats

Returns a new instance of BrakemanStats.



5
6
7
8
9
# File 'lib/codescout/brakeman_stats.rb', line 5

def initialize(analyzer)
  @results = []

  collect_results if generate_report
end

Instance Attribute Details

#resultsObject (readonly)

Returns the value of attribute results.



3
4
5
# File 'lib/codescout/brakeman_stats.rb', line 3

def results
  @results
end