Class: Codescout::ChurnStats
- Inherits:
-
Object
- Object
- Codescout::ChurnStats
- Defined in:
- lib/codescout/churn_stats.rb
Constant Summary collapse
- OPTIONS =
{ minimum_churn_count: 1, start_date: nil }
Instance Attribute Summary collapse
-
#files ⇒ Object
readonly
Returns the value of attribute files.
Instance Method Summary collapse
-
#initialize(analyzer) ⇒ ChurnStats
constructor
A new instance of ChurnStats.
Constructor Details
#initialize(analyzer) ⇒ ChurnStats
Returns a new instance of ChurnStats.
12 13 14 15 16 17 18 |
# File 'lib/codescout/churn_stats.rb', line 12 def initialize(analyzer) @analyzer = analyzer @files = {} generate_report collect_results end |
Instance Attribute Details
#files ⇒ Object (readonly)
Returns the value of attribute files.
10 11 12 |
# File 'lib/codescout/churn_stats.rb', line 10 def files @files end |