Class: Hyrax::Statistics::Works::OverTime
- Defined in:
- app/services/hyrax/statistics/works/over_time.rb
Instance Method Summary collapse
Methods inherited from OverTime
Constructor Details
This class inherits a constructor from Hyrax::Statistics::OverTime
Instance Method Details
#points ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'app/services/hyrax/statistics/works/over_time.rb', line 6 def points Enumerator.new(size) do |y| x = @x_min while x <= @x_max y.yield [@x_output.call(x), point(@x_min, x)] x += @delta_x.days end end end |