class Enzymator::Aggregations::Sum

Public Class Methods

new(config = {}) click to toggle source
Calls superclass method Enzymator::Aggregations::Base::new
# File lib/enzymator/aggregations/sum.rb, line 5
def initialize(config = {})
  super

  @transformation = Enzymator::Transformations::Foldable::Reduction.new
  # Summation is the default reduction operation for all numeric types
end