Class: UserPattern::StatsCalculator
- Inherits:
-
Object
- Object
- UserPattern::StatsCalculator
- Defined in:
- lib/userpattern/stats_calculator.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.compute_all ⇒ Object
5 6 7 |
# File 'lib/userpattern/stats_calculator.rb', line 5 def self.compute_all new.compute_all end |
Instance Method Details
#compute_all ⇒ Object
9 10 11 12 13 |
# File 'lib/userpattern/stats_calculator.rb', line 9 def compute_all load_groups .reject { |row| ignored_endpoint?(row[1]) } .map { |row| build_stat(row) } end |