class Enzymator::Aggregations::Count
Public Class Methods
new(config = {})
click to toggle source
Calls superclass method
Enzymator::Aggregations::Base::new
# File lib/enzymator/aggregations/count.rb, line 5 def initialize(config = {}) super @transformation = begin Enzymator::Transformations::Object::Application.new({ function: ->(objects) { objects.size } }) end end