class AllocationStats::AllocationsProxy
def to_a
Apply all transformations to the contained list of Allocations. This is
def to_a results = @allocations @wheres.each do |where| results = where.call(results) end # First apply group_by results = @group_by.call(results) if @group_by # Apply each mapper @mappers.each do |mapper| results = mapper.call(results) end results end