Class: AMEE::DataAbstraction::CalculationCollection

Inherits:
Array
  • Object
show all
Defined in:
lib/amee/data_abstraction/calculation_collection.rb

Overview

Class for containing a collection of instances of the class OngoingCalculation. This class is used to return mutliple ongoing calculation objects using the OngoingCalculation.find class method.

This class is extended by the amee-reporting gem to provide analytical methods which can be applied across collections of caluclations (e.g. averages and summations of terms, sorting, etc.)