Sha256: 6951252656a7976ca4affcfde712120075bdac759f1f7ced87b10e9181cd4af5
Contents?: true
Size: 482 Bytes
Versions: 17
Compression:
Stored size: 482 Bytes
Contents
# frozen_string_literal: true module Hyrax module Statistics module Works class OverTime < Statistics::OverTime 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 private def relation Hyrax::WorkRelation.new end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems