Class: GithubStats::Reports::ClosedByWeekReport
- Inherits:
-
Object
- Object
- GithubStats::Reports::ClosedByWeekReport
- Includes:
- Report
- Defined in:
- lib/github_stats/closed_by_week_report.rb
Overview
Provides week-by-week breakdown of issues closed, grouped by week with a 3 week moving average.
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
-
#search_string ⇒ Object
Returns the value of attribute search_string.
Instance Method Summary collapse
Methods included from Report
Instance Attribute Details
#options ⇒ Object
Returns the value of attribute options.
8 9 10 |
# File 'lib/github_stats/closed_by_week_report.rb', line 8 def end |
#search_string ⇒ Object
Returns the value of attribute search_string.
8 9 10 |
# File 'lib/github_stats/closed_by_week_report.rb', line 8 def search_string @search_string end |
Instance Method Details
#results ⇒ Object
11 12 13 14 15 |
# File 'lib/github_stats/closed_by_week_report.rb', line 11 def results results = with_moving_average(:velocity, by_week_closed(with_qty(issues))) Reports::Results.new(results, keys: [:week_closed, :qty, :velocity]) end |