Class: Reporter::Field::CountField
- Inherits:
-
CalculationField
- Object
- CalculationField
- Reporter::Field::CountField
- Defined in:
- lib/reporter/field/count_field.rb
Instance Method Summary collapse
-
#initialize(structure, alias_name, data_source, *args, &block) ⇒ CountField
constructor
A new instance of CountField.
Constructor Details
#initialize(structure, alias_name, data_source, *args, &block) ⇒ CountField
Returns a new instance of CountField.
3 4 5 6 7 |
# File 'lib/reporter/field/count_field.rb', line 3 def initialize structure, alias_name, data_source, *args, &block = args. column = args.first super structure, alias_name, data_source, :count, column, , &block end |