Class: Hyrax::Statistics::Users::OverTime
- Inherits:
-
Statistics::OverTime
- Object
- Statistics::OverTime
- Hyrax::Statistics::Users::OverTime
- Defined in:
- app/services/hyrax/statistics/users/over_time.rb
Instance Method Summary collapse
-
#points ⇒ Object
Overridden to do a noncumulative query.
Instance Method Details
#points ⇒ Object
Overridden to do a noncumulative query
7 8 9 10 11 12 13 14 15 |
# File 'app/services/hyrax/statistics/users/over_time.rb', line 7 def points Enumerator.new(size) do |y| x = @x_min while x <= @x_max y.yield [@x_output.call(x), point(x)] x += @delta_x.days end end end |