Class: Codescout::BrakemanStats
- Inherits:
-
Object
- Object
- Codescout::BrakemanStats
- Defined in:
- lib/codescout/brakeman_stats.rb
Instance Attribute Summary collapse
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(analyzer) ⇒ BrakemanStats
constructor
A new instance of BrakemanStats.
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
#results ⇒ Object (readonly)
Returns the value of attribute results.
3 4 5 |
# File 'lib/codescout/brakeman_stats.rb', line 3 def results @results end |