Class: Reporter::Field::SumField
- Inherits:
-
CalculationField
- Object
- CalculationField
- Reporter::Field::SumField
- Defined in:
- lib/reporter/field/sum_field.rb
Instance Method Summary collapse
-
#initialize(structure, alias_name, data_source, column, options = {}, &block) ⇒ SumField
constructor
A new instance of SumField.
Constructor Details
#initialize(structure, alias_name, data_source, column, options = {}, &block) ⇒ SumField
Returns a new instance of SumField.
3 4 5 |
# File 'lib/reporter/field/sum_field.rb', line 3 def initialize structure, alias_name, data_source, column, = {}, &block super structure, alias_name, data_source, :sum, column, , &block end |