lib/ttfunk/aggregate.rb in ttfunk-1.7.0 vs lib/ttfunk/aggregate.rb in ttfunk-1.8.0
- old
+ new
@@ -1,7 +1,12 @@
# frozen_string_literal: true
module TTFunk
+ # Base class for different aggregate values and accumulators.
+ #
+ # @see TTFunk::Min
+ # @see TTFunk::Max
+ # @see TTFunk::Sum
class Aggregate
private
def coerce(other)
if other.respond_to?(:value_or)